Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009332/0.0009332, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009274/0.0009274, allocations: 169 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8873/0.8873, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.715/1.715, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0.7656 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/1.955e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001436/0.001456, allocations: 0.829 MB / 0.7879 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.002548, allocations: 1.201 MB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.107e-05/0.002599, allocations: 1.062 kB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.002626, allocations: 3.938 kB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.25e-05/0.002709, allocations: 17.42 kB / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.003086, allocations: 139.5 kB / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.003244, allocations: 148.3 kB / 0.7894 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.003351, allocations: 23.97 kB / 0.7894 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.003466, allocations: 81.23 kB / 0.7895 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.225e-05/0.003548, allocations: 43.88 kB / 0.7895 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.003572, allocations: 12 kB / 0.7895 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.738e-05/0.00363, allocations: 29.2 kB / 0.7895 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.125e-05/0.003661, allocations: 19.92 kB / 0.7896 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.003729, allocations: 47.89 kB / 0.7896 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.003935, allocations: 116.5 kB / 0.7897 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003937, allocations: 0 / 0.7897 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.12e-07/0.003937, allocations: 0 / 0.7897 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.003941, allocations: 0.8438 kB / 0.7897 GB, free: 10.13 MB / 0.7448 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.0004523/0.004393, allocations: 448.5 kB / 0.7902 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.004426, allocations: 8.031 kB / 0.7902 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.00448, allocations: 20.89 kB / 0.7902 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.803e-05/0.004558, allocations: 128.4 kB / 0.7903 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.00457, allocations: 4.375 kB / 0.7903 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.00459, allocations: 16.38 kB / 0.7903 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.004756, allocations: 80.67 kB / 0.7904 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.004765, allocations: 192 / 0.7904 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.004776, allocations: 384 / 0.7904 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.004784, allocations: 384 / 0.7904 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.981e-05/0.004854, allocations: 31.86 kB / 0.7904 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.00527, allocations: 352 kB / 0.7908 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.452e-05/0.005345, allocations: 43.7 kB / 0.7908 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.00537, allocations: 20.16 kB / 0.7908 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.697e-06/0.005378, allocations: 5.656 kB / 0.7908 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.914e-05/0.005468, allocations: 69.12 kB / 0.7909 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.005469, allocations: 0 / 0.7909 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.000172/0.005641, allocations: 81.58 kB / 0.791 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.00567, allocations: 52 kB / 0.791 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.544e-05/0.005755, allocations: 177.9 kB / 0.7912 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.005773, allocations: 34.48 kB / 0.7912 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.005829, allocations: 146.8 kB / 0.7914 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.005844, allocations: 17.05 kB / 0.7914 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.005895, allocations: 47.34 kB / 0.7914 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.005997, allocations: 0.4883 MB / 0.7919 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.745e-05/0.006064, allocations: 63.05 kB / 0.792 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.803e-05/0.006142, allocations: 122.1 kB / 0.7921 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.115e-05/0.006223, allocations: 98.44 kB / 0.7922 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006225, allocations: 0 / 0.7922 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001827/0.006408, allocations: 189 kB / 0.7924 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.006434, allocations: 42.91 kB / 0.7924 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.006438, allocations: 0 / 0.7924 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.00645, allocations: 0 / 0.7924 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.176e-05/0.006512, allocations: 4 kB / 0.7924 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.006519, allocations: 5.312 kB / 0.7924 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.00665, allocations: 31.84 kB / 0.7924 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.00667, allocations: 9.641 kB / 0.7924 GB, free: 7.066 MB / 0.7448 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 9.212e-05/0.006762, allocations: 170.4 kB / 0.7926 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.006775, allocations: 7.953 kB / 0.7926 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.006797, allocations: 11.12 kB / 0.7926 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.0068, allocations: 4 kB / 0.7926 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.006803, allocations: 0 / 0.7926 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.006806, allocations: 0 / 0.7926 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.123e-05/0.006887, allocations: 140.5 kB / 0.7928 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.006889, allocations: 320 / 0.7928 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.621e-05/0.006915, allocations: 11.92 kB / 0.7928 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.006916, allocations: 0.5 kB / 0.7928 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.006924, allocations: 4.531 kB / 0.7928 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.006925, allocations: 4 kB / 0.7928 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.006927, allocations: 1.938 kB / 0.7928 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.007031, allocations: 116.2 kB / 0.7929 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-06/0.007037, allocations: 3.953 kB / 0.7929 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.007055, allocations: 8 kB / 0.7929 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.255e-05/0.007077, allocations: 4 kB / 0.7929 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.00712, allocations: 14.56 kB / 0.7929 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.007125, allocations: 0 / 0.7929 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.35e-05/0.007169, allocations: 135.2 kB / 0.7931 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007169, allocations: 0 / 0.7931 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001413/0.00731, allocations: 31.94 kB / 0.7931 GB, free: 6.355 MB / 0.7448 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 9.704e-05/0.007407, allocations: 104.1 kB / 0.7932 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001818/0.007589, allocations: 157.5 kB / 0.7933 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.00759, allocations: 0 / 0.7933 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.471e-05/0.007625, allocations: 23.67 kB / 0.7934 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.007764, allocations: 21.97 kB / 0.7934 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.008198, allocations: 190.1 kB / 0.7936 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.006e-05/0.008228, allocations: 57.25 kB / 0.7936 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.196e-05/0.00825, allocations: 7.984 kB / 0.7936 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.55e-05/0.008275, allocations: 12.5 kB / 0.7936 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of SimCode: time 8.12e-07/0.008276, allocations: 0 / 0.7936 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of Templates: time 0.003177/0.01145, allocations: 1.785 MB / 0.7954 GB, free: 3.984 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.728163953870535]