Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 1.538/1.538, allocations: 287.4 MB / 302.6 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001296/0.001296, allocations: 188.2 kB / 371.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.4 MB / 0.6298 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007104/0.0007104, allocations: 92.73 kB / 0.7431 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003467, allocations: 11.97 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1623, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.000819/0.1631, allocations: 0.5171 MB / 0.9792 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1642, allocations: 1.126 MB / 0.9803 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.1643, allocations: 4 kB / 0.9803 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.1644, allocations: 3.938 kB / 0.9803 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.465e-05/0.1644, allocations: 15.91 kB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.1648, allocations: 119.3 kB / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.165, allocations: 111.8 kB / 0.9806 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1651, allocations: 31.97 kB / 0.9806 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.757e-05/0.1652, allocations: 47.84 kB / 0.9807 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.914e-05/0.1652, allocations: 39.83 kB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.1653, allocations: 4 kB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.933e-05/0.1653, allocations: 23.97 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.1654, allocations: 15.92 kB / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.1654, allocations: 37.7 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.1655, allocations: 108 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1655, allocations: 0 / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1655, allocations: 0 / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.1656, allocations: 0 / 0.9809 GB, free: 25.91 MB / 0.6198 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.000457/0.166, allocations: 421 kB / 0.9813 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1661, allocations: 8.031 kB / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.843e-05/0.1661, allocations: 38.73 kB / 0.9813 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.1661, allocations: 12.84 kB / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.1e-05/0.1662, allocations: 180.1 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1662, allocations: 4.375 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.1663, allocations: 16.38 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.1665, allocations: 86.2 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1665, allocations: 11.86 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.1665, allocations: 4 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1665, allocations: 4 kB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.1667, allocations: 71.89 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.1671, allocations: 380.5 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.1673, allocations: 66.48 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.507e-05/0.1673, allocations: 32.94 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.1674, allocations: 0 / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.1675, allocations: 91.36 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1675, allocations: 0 / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0003581/0.1679, allocations: 153.5 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.1679, allocations: 51.41 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.188e-05/0.168, allocations: 129.7 kB / 0.9826 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.168, allocations: 33.7 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.1681, allocations: 100 kB / 0.9827 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.1681, allocations: 11.91 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.1681, allocations: 4 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.019e-05/0.1682, allocations: 322.8 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1683, allocations: 51.97 kB / 0.9831 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.1684, allocations: 87.39 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.1686, allocations: 132.2 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1687, allocations: 4.031 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000337/0.169, allocations: 199.1 kB / 0.9835 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.169, allocations: 40.2 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.169, allocations: 0 / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1691, allocations: 4.062 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.552e-05/0.1692, allocations: 15.98 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1692, allocations: 3.938 kB / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.1694, allocations: 59.8 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.1694, allocations: 15.98 kB / 0.9836 GB, free: 22.85 MB / 0.6198 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,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.1695, allocations: 127 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.1695, allocations: 0 / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.1695, allocations: 16.31 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1696, allocations: 0 / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1696, allocations: 3.938 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1696, allocations: 0 / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.798e-05/0.1697, allocations: 193.6 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.1697, allocations: 0 / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.615e-05/0.1697, allocations: 11.98 kB / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1697, allocations: 0 / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1698, allocations: 4 kB / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1698, allocations: 0 / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1698, allocations: 4.031 kB / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.17, allocations: 140.9 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.17, allocations: 85.02 kB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.17, allocations: 0 / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.263e-05/0.1701, allocations: 15.98 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.1702, allocations: 24.28 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.1702, allocations: 0 / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.875e-05/0.1702, allocations: 95.27 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1702, allocations: 0 / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001857/0.1704, allocations: 24.12 kB / 0.9843 GB, free: 22.03 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003876/0.1708, allocations: 0.6787 MB / 0.985 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003052/0.1711, allocations: 179.3 kB / 0.9851 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1711, allocations: 0 / 0.9851 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.1712, allocations: 43.91 kB / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.1714, allocations: 15.94 kB / 0.9852 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009396/0.1724, allocations: 0.7055 MB / 0.9859 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.9e-05/0.1725, allocations: 0.6965 MB / 0.9866 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.439e-05/0.1725, allocations: 4 kB / 0.9866 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.1726, allocations: 23.42 kB / 0.9866 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.1726, allocations: 0 / 0.9866 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4333/0.6059, allocations: 2.388 MB / 0.9889 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/0.6061, allocations: 217.4 kB / 0.9891 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/2.108, allocations: 0 / 0.9891 GB, free: 17.11 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)