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.001045/0.001045, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001136/0.001136, allocations: 196.4 kB / 16.14 MB, free: 6.715 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.237/1.237, allocations: 205.1 MB / 222 MB, free: 4.762 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.6/1.6, allocations: 292.3 MB / 0.5484 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.001345/0.001345, allocations: 70.73 kB / 0.6709 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1756, allocations: 114.6 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001911/0.1776, allocations: 0.8827 MB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1788, allocations: 1.16 MB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.55e-05/0.1789, allocations: 0 / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.1789, allocations: 7.938 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.36e-05/0.179, allocations: 7.938 kB / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.1793, allocations: 128.2 kB / 0.7849 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.1795, allocations: 135.7 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.82e-05/0.1796, allocations: 31.98 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.613e-05/0.1797, allocations: 47.89 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.385e-05/0.1797, allocations: 47.81 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.1798, allocations: 8 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.493e-05/0.1798, allocations: 23.92 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.745e-05/0.1799, allocations: 11.98 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.603e-05/0.18, allocations: 55.77 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.1801, allocations: 139.8 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1801, allocations: 0 / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.21e-07/0.1801, allocations: 0 / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.1801, allocations: 4 kB / 0.7854 GB, free: 11.19 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.0005498/0.1807, allocations: 427.9 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1807, allocations: 12.03 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.1808, allocations: 42.67 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.1808, allocations: 12.84 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.181, allocations: 176.2 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.181, allocations: 8.375 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.181, allocations: 16.36 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.1812, allocations: 86.16 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.1812, allocations: 3.938 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1812, allocations: 4 kB / 0.7862 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1813, allocations: 0 / 0.7862 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.1815, allocations: 55.95 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.182, allocations: 392.4 kB / 0.7866 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.1821, allocations: 50.55 kB / 0.7867 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.1822, allocations: 36.92 kB / 0.7867 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.1822, allocations: 0 / 0.7867 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.1824, allocations: 87.38 kB / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 3.537e-06/0.1824, allocations: 0 / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0003874/0.1828, allocations: 125.6 kB / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.1829, allocations: 55.39 kB / 0.7869 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.592e-05/0.183, allocations: 129.7 kB / 0.7871 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.183, allocations: 33.7 kB / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.1831, allocations: 96.03 kB / 0.7872 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.1831, allocations: 15.81 kB / 0.7872 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-05/0.1832, allocations: 37.69 kB / 0.7872 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.1833, allocations: 314.8 kB / 0.7875 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.1834, allocations: 55.95 kB / 0.7876 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.1836, allocations: 79.34 kB / 0.7877 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.1838, allocations: 120.2 kB / 0.7878 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1839, allocations: 0 / 0.7878 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003979/0.1843, allocations: 195.2 kB / 0.788 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.1843, allocations: 33.69 kB / 0.788 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1843, allocations: 7.984 kB / 0.788 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.1843, allocations: 0 / 0.788 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.115e-05/0.1844, allocations: 15.92 kB / 0.788 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1844, allocations: 7.938 kB / 0.788 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.1846, allocations: 47.89 kB / 0.7881 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.1847, allocations: 4 kB / 0.7881 GB, free: 8.184 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 8.631e-05/0.1848, allocations: 121.9 kB / 0.7882 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.1848, allocations: 11.83 kB / 0.7882 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.1848, allocations: 12.38 kB / 0.7882 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.1848, allocations: 0 / 0.7882 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1848, allocations: 3.938 kB / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1848, allocations: 0 / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.185, allocations: 189.6 kB / 0.7884 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.185, allocations: 0 / 0.7884 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-05/0.185, allocations: 8 kB / 0.7884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1851, allocations: 3.984 kB / 0.7884 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1851, allocations: 0 / 0.7884 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1851, allocations: 0 / 0.7884 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1851, allocations: 3.938 kB / 0.7884 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.1853, allocations: 137.2 kB / 0.7886 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.1854, allocations: 77.11 kB / 0.7886 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.1854, allocations: 4 kB / 0.7886 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.706e-05/0.1855, allocations: 11.98 kB / 0.7886 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.1855, allocations: 11.92 kB / 0.7887 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.1855, allocations: 4 kB / 0.7887 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.541e-05/0.1856, allocations: 95.7 kB / 0.7887 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1856, allocations: 0 / 0.7887 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002112/0.1858, allocations: 23.91 kB / 0.7888 GB, free: 7.383 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.0005085/0.1863, allocations: 0.6671 MB / 0.7894 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003356/0.1867, allocations: 167.3 kB / 0.7896 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1867, allocations: 3.938 kB / 0.7896 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.1868, allocations: 35.97 kB / 0.7896 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.187, allocations: 15.92 kB / 0.7896 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.1888, allocations: 1.614 MB / 0.7912 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.189, allocations: 0.6965 MB / 0.7919 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.205e-05/0.1891, allocations: 4 kB / 0.7919 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.1891, allocations: 23.42 kB / 0.7919 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.1891, allocations: 4 kB / 0.7919 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1687/0.3578, allocations: 2.49 MB / 0.7944 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.358, allocations: 222.5 kB / 0.7946 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/1.932, allocations: 0 / 0.7946 GB, free: 1.379 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)