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.0009291/0.0009291, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009165/0.0009165, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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.9176/0.9176, allocations: 177.1 MB / 204.2 MB, free: 5.262 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.685/1.685, allocations: 359 MB / 0.6052 GB, free: 10.99 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 3.086e-06/3.086e-06, allocations: 3.984 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.879e-05/3.188e-05, allocations: 8.922 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002245/0.002276, allocations: 0.8255 MB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.004058, allocations: 1.207 MB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.168e-05/0.00412, allocations: 0 / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.795e-05/0.004158, allocations: 3.938 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.92e-05/0.004257, allocations: 17.41 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007874/0.005045, allocations: 143.5 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.005256, allocations: 141.2 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.005384, allocations: 23.97 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.005541, allocations: 83.86 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.005646, allocations: 43.88 kB / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.548e-05/0.005682, allocations: 15.19 kB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.586e-05/0.005758, allocations: 27.98 kB / 0.7896 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.554e-05/0.005793, allocations: 23.91 kB / 0.7896 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.035e-05/0.005863, allocations: 43.91 kB / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.006081, allocations: 115.6 kB / 0.7897 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.006084, allocations: 0 / 0.7897 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.593e-06/0.006086, allocations: 0 / 0.7897 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.006092, allocations: 0 / 0.7897 GB, free: 9.793 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.0005916/0.006683, allocations: 451.1 kB / 0.7902 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.006728, allocations: 8.031 kB / 0.7902 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.065e-05/0.006798, allocations: 20.89 kB / 0.7902 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.006903, allocations: 121 kB / 0.7903 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.006923, allocations: 5.094 kB / 0.7903 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.006955, allocations: 16.36 kB / 0.7903 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.007148, allocations: 75.42 kB / 0.7904 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.00716, allocations: 1.75 kB / 0.7904 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.007174, allocations: 4.375 kB / 0.7904 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.007186, allocations: 4.359 kB / 0.7904 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.311e-05/0.007259, allocations: 19.92 kB / 0.7904 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005544/0.007814, allocations: 364 kB / 0.7908 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.007919, allocations: 43.91 kB / 0.7908 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.784e-05/0.007957, allocations: 20.45 kB / 0.7908 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.007968, allocations: 4 kB / 0.7908 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.008094, allocations: 69.64 kB / 0.7909 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.008096, allocations: 1.375 kB / 0.7909 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0002364/0.008332, allocations: 89.5 kB / 0.791 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.008363, allocations: 51.41 kB / 0.791 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.089e-05/0.008454, allocations: 181.9 kB / 0.7912 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.008473, allocations: 27.3 kB / 0.7912 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.008528, allocations: 146.8 kB / 0.7914 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.008548, allocations: 19.88 kB / 0.7914 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.008601, allocations: 39.36 kB / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.008714, allocations: 0.4982 MB / 0.7919 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.008786, allocations: 57.69 kB / 0.792 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.441e-05/0.008871, allocations: 122.1 kB / 0.7921 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.351e-05/0.008954, allocations: 96.69 kB / 0.7922 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.008956, allocations: 0.5625 kB / 0.7922 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001991/0.009156, allocations: 195.5 kB / 0.7924 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.009185, allocations: 37.7 kB / 0.7924 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.00919, allocations: 0 / 0.7924 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.009207, allocations: 0 / 0.7924 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.34e-05/0.00929, allocations: 7.984 kB / 0.7924 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.009297, allocations: 4 kB / 0.7924 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.009424, allocations: 29.66 kB / 0.7925 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.009443, allocations: 4 kB / 0.7925 GB, free: 6.73 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 0.0001021/0.009545, allocations: 173 kB / 0.7926 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.009567, allocations: 8.516 kB / 0.7926 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.009603, allocations: 12.42 kB / 0.7926 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.009607, allocations: 5.594 kB / 0.7926 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.00961, allocations: 0 / 0.7926 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.009614, allocations: 0 / 0.7926 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.009728, allocations: 136.5 kB / 0.7928 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.00973, allocations: 2.125 kB / 0.7928 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.446e-05/0.009774, allocations: 8 kB / 0.7928 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.009777, allocations: 0 / 0.7928 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.009786, allocations: 0 / 0.7928 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.009788, allocations: 4.312 kB / 0.7928 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.009791, allocations: 7.922 kB / 0.7928 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.009956, allocations: 113.4 kB / 0.7929 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.009967, allocations: 3.953 kB / 0.7929 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.009992, allocations: 4 kB / 0.7929 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.851e-05/0.01004, allocations: 12.8 kB / 0.7929 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.0101, allocations: 7.984 kB / 0.7929 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.01011, allocations: 4.516 kB / 0.7929 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.292e-05/0.01018, allocations: 132 kB / 0.7931 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.01018, allocations: 0 / 0.7931 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002649/0.01044, allocations: 36.83 kB / 0.7931 GB, free: 6.016 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 0.0001631/0.0106, allocations: 106.9 kB / 0.7932 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002604/0.01086, allocations: 160.7 kB / 0.7934 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01087, allocations: 0 / 0.7934 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.482e-05/0.01092, allocations: 23.67 kB / 0.7934 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.01115, allocations: 18.94 kB / 0.7934 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006424/0.01179, allocations: 187.5 kB / 0.7936 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.199e-05/0.01184, allocations: 59.34 kB / 0.7936 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.553e-05/0.01187, allocations: 5.031 kB / 0.7936 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.01191, allocations: 12.5 kB / 0.7936 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.01191, allocations: 0 / 0.7936 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of Templates: time 0.004729/0.01664, allocations: 1.793 MB / 0.7954 GB, free: 3.633 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.858927061315626]