Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",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.0009217/0.0009217, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004645/0.004645, allocations: 169.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.215/1.215, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.466/1.466, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004313, allocations: 14.59 kB / 0.6744 GB, free: 25.61 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1563, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.0008075/0.1572, allocations: 0.5412 MB / 0.7885 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1583, allocations: 1.152 MB / 0.7896 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.1584, allocations: 3.938 kB / 0.7897 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.1584, allocations: 3.938 kB / 0.7897 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.518e-05/0.1585, allocations: 3.938 kB / 0.7897 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.1588, allocations: 147.3 kB / 0.7898 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.1589, allocations: 123.8 kB / 0.7899 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.953e-05/0.1591, allocations: 35.97 kB / 0.79 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.58e-05/0.1591, allocations: 39.89 kB / 0.79 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.071e-05/0.1592, allocations: 47.83 kB / 0.79 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.1592, allocations: 4 kB / 0.79 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.083e-05/0.1593, allocations: 15.98 kB / 0.7901 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.1593, allocations: 15.92 kB / 0.7901 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.791e-05/0.1594, allocations: 77.47 kB / 0.7901 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.1595, allocations: 139.8 kB / 0.7903 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.1596, allocations: 0 / 0.7903 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1596, allocations: 0 / 0.7903 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.1596, allocations: 0 / 0.7903 GB, free: 9.117 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004626/0.16, allocations: 417 kB / 0.7907 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1601, allocations: 8.031 kB / 0.7907 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.1601, allocations: 34.73 kB / 0.7907 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.1601, allocations: 16.84 kB / 0.7907 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.21e-05/0.1602, allocations: 172.2 kB / 0.7909 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1603, allocations: 4.375 kB / 0.7909 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.1603, allocations: 12.38 kB / 0.7909 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.1605, allocations: 102.1 kB / 0.791 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.1605, allocations: 3.938 kB / 0.791 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1605, allocations: 4 kB / 0.791 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1605, allocations: 4 kB / 0.791 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.1607, allocations: 67.95 kB / 0.7911 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.1612, allocations: 388.5 kB / 0.7915 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.1613, allocations: 58.55 kB / 0.7915 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.219e-05/0.1614, allocations: 40.92 kB / 0.7916 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.1614, allocations: 0 / 0.7916 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.1616, allocations: 91.31 kB / 0.7916 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 2.395e-06/0.1616, allocations: 0 / 0.7916 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0003709/0.162, allocations: 145.5 kB / 0.7918 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.162, allocations: 55.41 kB / 0.7918 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.626e-05/0.1621, allocations: 129.7 kB / 0.792 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.1621, allocations: 29.7 kB / 0.792 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.1622, allocations: 100 kB / 0.7921 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.1622, allocations: 7.906 kB / 0.7921 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.1623, allocations: 29.64 kB / 0.7921 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.269e-05/0.1623, allocations: 318.8 kB / 0.7924 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.1625, allocations: 55.95 kB / 0.7925 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.1626, allocations: 95.31 kB / 0.7926 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.1629, allocations: 124.2 kB / 0.7927 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1629, allocations: 0 / 0.7927 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003582/0.1632, allocations: 203.3 kB / 0.7929 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.1633, allocations: 41.69 kB / 0.7929 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1633, allocations: 0 / 0.7929 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1633, allocations: 4 kB / 0.7929 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.729e-05/0.1634, allocations: 19.98 kB / 0.7929 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1634, allocations: 3.938 kB / 0.7929 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.1636, allocations: 66.45 kB / 0.793 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.1637, allocations: 4 kB / 0.793 GB, free: 6.039 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 7.694e-05/0.1637, allocations: 126.5 kB / 0.7931 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.1638, allocations: 0 / 0.7931 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.1638, allocations: 16.36 kB / 0.7931 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1638, allocations: 0 / 0.7931 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1638, allocations: 3.938 kB / 0.7931 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1638, allocations: 0 / 0.7931 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.1639, allocations: 185.6 kB / 0.7933 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1639, allocations: 4 kB / 0.7933 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.449e-05/0.164, allocations: 11.98 kB / 0.7933 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.164, allocations: 0 / 0.7933 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.164, allocations: 7.938 kB / 0.7933 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.164, allocations: 320 / 0.7933 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.164, allocations: 3.938 kB / 0.7934 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.1643, allocations: 144.9 kB / 0.7935 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.1643, allocations: 81.02 kB / 0.7936 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.1643, allocations: 4 kB / 0.7936 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.473e-05/0.1644, allocations: 15.98 kB / 0.7936 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.1644, allocations: 15.92 kB / 0.7936 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.1644, allocations: 11.98 kB / 0.7936 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.082e-05/0.1645, allocations: 87.28 kB / 0.7937 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1645, allocations: 0 / 0.7937 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001909/0.1647, allocations: 23.98 kB / 0.7937 GB, free: 5.215 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000449/0.1651, allocations: 0.6787 MB / 0.7944 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003195/0.1655, allocations: 179.3 kB / 0.7946 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1655, allocations: 3.938 kB / 0.7946 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.1656, allocations: 39.97 kB / 0.7946 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.1658, allocations: 18.73 kB / 0.7946 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.1673, allocations: 1.648 MB / 0.7962 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.1675, allocations: 0.6965 MB / 0.7969 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.131e-05/0.1676, allocations: 7.984 kB / 0.7969 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.1676, allocations: 23.44 kB / 0.7969 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.1676, allocations: 0 / 0.7969 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.39/2.557, allocations: 2.425 MB / 0.7993 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002654/2.558, allocations: 216.5 kB / 0.7995 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.11/4.668, allocations: 0 / 0.7995 GB, free: 15.25 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)