Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.SystemOnOff,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.656/1.656, allocations: 287.4 MB / 302.6 MB, free: 8.23 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.001017/0.001017, allocations: 185.6 kB / 371.1 MB, free: 10.8 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.274/1.274, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0007268/0.0007269, allocations: 88.17 kB / 0.7431 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.000345, allocations: 12.5 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1535, allocations: 115.3 MB / 0.9787 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.0007925/0.1543, allocations: 0.5755 MB / 0.9793 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007314/0.155, allocations: 0.8594 MB / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.1551, allocations: 0 / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.1551, allocations: 3.938 kB / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.301e-05/0.1552, allocations: 23.84 kB / 0.9802 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.1554, allocations: 23.98 kB / 0.9802 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.545e-05/0.1554, allocations: 95.7 kB / 0.9803 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1556, allocations: 37.09 kB / 0.9803 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.998e-05/0.1557, allocations: 35.84 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.1557, allocations: 43.78 kB / 0.9804 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.1558, allocations: 0 / 0.9804 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.454e-05/0.1558, allocations: 4 kB / 0.9804 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.1558, allocations: 19.91 kB / 0.9804 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.1558, allocations: 37.64 kB / 0.9805 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.883e-05/0.1559, allocations: 96 kB / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1559, allocations: 0 / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1559, allocations: 0 / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.1559, allocations: 0 / 0.9805 GB, free: 26.19 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006412/0.1566, allocations: 463 kB / 0.981 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.1566, allocations: 15.97 kB / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.974e-05/0.1566, allocations: 34.75 kB / 0.981 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.1567, allocations: 12.84 kB / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.782e-05/0.1568, allocations: 180.1 kB / 0.9812 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1568, allocations: 12.38 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.1568, allocations: 4.375 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.157, allocations: 106.1 kB / 0.9813 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.157, allocations: 7.922 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.157, allocations: 4 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.157, allocations: 0 / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.1572, allocations: 74.22 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005618/0.1578, allocations: 412.4 kB / 0.9818 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.1579, allocations: 70.55 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.388e-05/0.158, allocations: 36.97 kB / 0.9819 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.158, allocations: 0 / 0.9819 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.158, allocations: 34.5 kB / 0.9819 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.158, allocations: 0 / 0.9819 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002989/0.1583, allocations: 125.6 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.602e-05/0.1584, allocations: 55.34 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.054e-05/0.1584, allocations: 146.5 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.1585, allocations: 33.7 kB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.1585, allocations: 112 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.1585, allocations: 7.812 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/0.1585, allocations: 8 kB / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.84e-05/0.1586, allocations: 318.8 kB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.723e-05/0.1587, allocations: 31.98 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.052e-05/0.1587, allocations: 35.97 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.1589, allocations: 60.92 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1589, allocations: 0 / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001787/0.159, allocations: 105.6 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.1591, allocations: 4 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1591, allocations: 4 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.1591, allocations: 0 / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.066e-05/0.1592, allocations: 11.98 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.1592, allocations: 7.875 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.1593, allocations: 36.05 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.1594, allocations: 4 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 5.797e-05/0.1594, allocations: 127.9 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.1595, allocations: 7.906 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.1595, allocations: 20.3 kB / 0.9832 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1595, allocations: 0 / 0.9832 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1595, allocations: 7.938 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1595, allocations: 3.938 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.1596, allocations: 205.5 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1596, allocations: 0 / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.096e-05/0.1597, allocations: 11.98 kB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1597, allocations: 256 / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.1597, allocations: 0 / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1597, allocations: 4 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1597, allocations: 3.938 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.1599, allocations: 195.4 kB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.16, allocations: 85.02 kB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.16, allocations: 4 kB / 0.9837 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.1602, allocations: 31.97 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.1602, allocations: 27.89 kB / 0.9837 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.1602, allocations: 0 / 0.9837 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.707e-05/0.1603, allocations: 115.9 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1603, allocations: 0 / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001893/0.1605, allocations: 16 kB / 0.9838 GB, free: 22.5 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003193/0.1608, allocations: 0.7241 MB / 0.9845 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.161, allocations: 79.89 kB / 0.9846 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.161, allocations: 0 / 0.9846 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.107e-05/0.1611, allocations: 35.98 kB / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.1613, allocations: 18 kB / 0.9847 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008721/0.1622, allocations: 0.692 MB / 0.9853 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.1623, allocations: 0.7043 MB / 0.986 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.177e-05/0.1624, allocations: 11.8 kB / 0.986 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/0.1624, allocations: 31.48 kB / 0.9861 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.1625, allocations: 0 / 0.9861 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4256/0.5881, allocations: 2.25 MB / 0.9883 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001356/0.5882, allocations: 199.7 kB / 0.9885 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/2.252, allocations: 2.25 kB / 0.9885 GB, free: 17.79 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)