Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.00134, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 193.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00258/0.00258, allocations: 274.8 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.081/1.081, allocations: 178.6 MB / 0.5073 GB, free: 4.562 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002797/0.002797, allocations: 98.19 kB / 0.6065 GB, free: 24.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1564, allocations: 89.15 MB / 0.6936 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002867/0.1593, allocations: 1.476 MB / 0.695 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007331/0.1601, allocations: 440 kB / 0.6955 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-05/0.1601, allocations: 0 / 0.6955 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.008e-05/0.1602, allocations: 9.047 kB / 0.6955 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.559e-05/0.1602, allocations: 11.92 kB / 0.6955 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.1604, allocations: 19.92 kB / 0.6955 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.422e-05/0.1605, allocations: 51.12 kB / 0.6955 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1606, allocations: 12 kB / 0.6956 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.515e-05/0.1606, allocations: 27.86 kB / 0.6956 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.88e-05/0.1607, allocations: 23.89 kB / 0.6956 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.1607, allocations: 4 kB / 0.6956 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.1608, allocations: 4 kB / 0.6956 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.1608, allocations: 15.94 kB / 0.6956 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.71e-05/0.1608, allocations: 23.92 kB / 0.6956 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.414e-05/0.1609, allocations: 44.05 kB / 0.6957 GB, free: 2.082 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.161, allocations: 0 / 0.6957 GB, free: 2.082 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.161, allocations: 0 / 0.6957 GB, free: 2.082 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.161, allocations: 0 / 0.6957 GB, free: 2.082 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005463/0.1615, allocations: 357.5 kB / 0.696 GB, free: 1.688 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1616, allocations: 8.031 kB / 0.696 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.156e-05/0.1616, allocations: 38.73 kB / 0.6961 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.1616, allocations: 8.844 kB / 0.6961 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.1618, allocations: 180.2 kB / 0.6963 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1618, allocations: 4.375 kB / 0.6963 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.1619, allocations: 4.375 kB / 0.6963 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.162, allocations: 57.8 kB / 0.6963 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.162, allocations: 0 / 0.6963 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.162, allocations: 4 kB / 0.6963 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.162, allocations: 4 kB / 0.6963 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.063e-05/0.1621, allocations: 23.92 kB / 0.6963 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.1626, allocations: 304.7 kB / 0.6966 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.1627, allocations: 54.62 kB / 0.6967 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.833e-05/0.1628, allocations: 24.92 kB / 0.6967 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.1628, allocations: 0 / 0.6967 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.163, allocations: 79.31 kB / 0.6968 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.163, allocations: 0 / 0.6968 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002362/0.1632, allocations: 101.5 kB / 0.6969 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.1633, allocations: 55.41 kB / 0.6969 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.884e-05/0.1634, allocations: 113.8 kB / 0.697 GB, free: 500 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1634, allocations: 25.7 kB / 0.6971 GB, free: 468 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.1635, allocations: 84.14 kB / 0.6972 GB, free: 380 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.1635, allocations: 31.64 kB / 0.6972 GB, free: 348 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/0.1635, allocations: 33.64 kB / 0.6972 GB, free: 308 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1637, allocations: 318.8 kB / 0.6975 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.64e-05/0.1638, allocations: 15.98 kB / 0.6975 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.339e-05/0.1638, allocations: 55.3 kB / 0.6976 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.434e-05/0.1639, allocations: 63.38 kB / 0.6976 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.1639, allocations: 4 kB / 0.6977 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001514/0.1641, allocations: 101.5 kB / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1641, allocations: 4 kB / 0.6978 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1641, allocations: 0 / 0.6978 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1641, allocations: 4 kB / 0.6978 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.613e-05/0.1642, allocations: 11.98 kB / 0.6978 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1642, allocations: 3.938 kB / 0.6978 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.308e-05/0.1643, allocations: 4 kB / 0.6978 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1643, allocations: 11.97 kB / 0.6978 GB, free: 15.68 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.1644, allocations: 122.5 kB / 0.6979 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.1644, allocations: 7.906 kB / 0.6979 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.1645, allocations: 7.969 kB / 0.6979 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1645, allocations: 4 kB / 0.6979 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1645, allocations: 0 / 0.6979 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1645, allocations: 0 / 0.6979 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004235/0.1649, allocations: 362.7 kB / 0.6983 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1649, allocations: 0 / 0.6983 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.789e-05/0.165, allocations: 7.984 kB / 0.6983 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.165, allocations: 3.938 kB / 0.6983 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.165, allocations: 0 / 0.6983 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.165, allocations: 7.938 kB / 0.6983 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.165, allocations: 0 / 0.6983 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.1652, allocations: 183.4 kB / 0.6985 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.1653, allocations: 81.39 kB / 0.6985 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.1653, allocations: 0 / 0.6985 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.1654, allocations: 15.86 kB / 0.6986 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.1654, allocations: 8 kB / 0.6986 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.1654, allocations: 7.984 kB / 0.6986 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.161e-05/0.1655, allocations: 87.27 kB / 0.6987 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1655, allocations: 0 / 0.6987 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002315/0.1657, allocations: 12 kB / 0.6987 GB, free: 14.68 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005178/0.1663, allocations: 0.7163 MB / 0.6994 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.1664, allocations: 59.92 kB / 0.6994 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1664, allocations: 0 / 0.6994 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.83e-05/0.1665, allocations: 32.14 kB / 0.6995 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.1668, allocations: 16.67 kB / 0.6995 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.1681, allocations: 1.35 MB / 0.7008 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.1684, allocations: 0.6885 MB / 0.7015 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.904e-05/0.1685, allocations: 7.984 kB / 0.7015 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.1685, allocations: 19.38 kB / 0.7015 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1685, allocations: 0 / 0.7015 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.1917, allocations: 1.764 MB / 0.7032 GB, free: 10 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.773/7.965, allocations: 8.297 kB / 0.7032 GB, free: 9.996 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv --start-time -1 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)