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.001334/0.001334, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001493/0.001493, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.181/1.181, allocations: 205.1 MB / 222.1 MB, free: 4.676 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.507/1.507, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.00128/0.00128, allocations: 67.62 kB / 0.6711 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1694, allocations: 114.6 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001849/0.1713, allocations: 0.8722 MB / 0.7838 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.1724, allocations: 1.152 MB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.791e-05/0.1725, allocations: 0 / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.1725, allocations: 3.938 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.283e-05/0.1726, allocations: 7.938 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.173, allocations: 126.4 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.1731, allocations: 151.7 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.272e-05/0.1732, allocations: 35.98 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.073e-05/0.1733, allocations: 55.89 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.367e-05/0.1734, allocations: 51.81 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.1734, allocations: 12 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.705e-05/0.1735, allocations: 27.98 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.1735, allocations: 19.92 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.1736, allocations: 59.77 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.1737, allocations: 143.8 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1737, allocations: 0 / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1738, allocations: 3.938 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.1738, allocations: 4 kB / 0.7856 GB, free: 11.06 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.0005007/0.1743, allocations: 429 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.1743, allocations: 8.031 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.883e-05/0.1743, allocations: 38.75 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.1744, allocations: 12.84 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.652e-05/0.1745, allocations: 172.2 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1745, allocations: 12.36 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.1745, allocations: 8.375 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.1747, allocations: 86.22 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1747, allocations: 11.81 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1748, allocations: 4 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1748, allocations: 4 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.1749, allocations: 59.94 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.1754, allocations: 392.4 kB / 0.7868 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.1755, allocations: 50.56 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.661e-05/0.1756, allocations: 36.84 kB / 0.7869 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.1757, allocations: 4 kB / 0.7869 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.1758, allocations: 83.36 kB / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1759, allocations: 0 / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0003542/0.1762, allocations: 125.6 kB / 0.7871 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.1762, allocations: 55.41 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/0.1763, allocations: 133.6 kB / 0.7873 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1764, allocations: 29.7 kB / 0.7873 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.1764, allocations: 100 kB / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.1764, allocations: 11.81 kB / 0.7874 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.1765, allocations: 41.69 kB / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.1766, allocations: 314.8 kB / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.1767, allocations: 51.95 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.1769, allocations: 87.38 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.1771, allocations: 120.2 kB / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1772, allocations: 0 / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003642/0.1775, allocations: 191.2 kB / 0.7882 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.1776, allocations: 41.69 kB / 0.7882 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.1776, allocations: 0 / 0.7882 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1776, allocations: 4 kB / 0.7882 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.1777, allocations: 11.92 kB / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1777, allocations: 3.938 kB / 0.7883 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.1779, allocations: 43.95 kB / 0.7883 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.1779, allocations: 8 kB / 0.7883 GB, free: 8.051 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.527e-05/0.178, allocations: 122.5 kB / 0.7884 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.178, allocations: 7.906 kB / 0.7884 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.1781, allocations: 8.375 kB / 0.7884 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1781, allocations: 4 kB / 0.7884 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1781, allocations: 3.938 kB / 0.7884 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1781, allocations: 0 / 0.7884 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.1782, allocations: 189.7 kB / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1782, allocations: 3.938 kB / 0.7886 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.898e-05/0.1783, allocations: 11.92 kB / 0.7886 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1783, allocations: 320 / 0.7886 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1783, allocations: 8 kB / 0.7886 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1783, allocations: 4 kB / 0.7887 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1783, allocations: 3.938 kB / 0.7887 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.1785, allocations: 128.9 kB / 0.7888 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.29e-05/0.1786, allocations: 81.11 kB / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.1786, allocations: 0 / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.286e-05/0.1787, allocations: 7.984 kB / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.1787, allocations: 19.92 kB / 0.7889 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.1787, allocations: 0 / 0.7889 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.21e-05/0.1788, allocations: 95.27 kB / 0.789 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1788, allocations: 0 / 0.789 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002023/0.179, allocations: 31.91 kB / 0.789 GB, free: 7.238 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.0004598/0.1795, allocations: 0.6593 MB / 0.7896 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003246/0.1798, allocations: 175.3 kB / 0.7898 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1798, allocations: 0 / 0.7898 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.1799, allocations: 31.97 kB / 0.7898 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.1801, allocations: 15.92 kB / 0.7899 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.1817, allocations: 1.615 MB / 0.7914 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.1819, allocations: 0.6963 MB / 0.7921 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.886e-05/0.182, allocations: 0 / 0.7921 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.425e-05/0.182, allocations: 27.42 kB / 0.7921 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.182, allocations: 3.938 kB / 0.7921 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.346/2.528, allocations: 2.581 MB / 0.7947 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/2.528, allocations: 218.7 kB / 0.7949 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/4.126, allocations: 3.938 kB / 0.7949 GB, free: 1.172 MB / 0.6075 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)