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.001273/0.001273, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001339/0.001339, allocations: 161 kB / 23.82 MB, free: 0.7461 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.926/0.926, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.691/1.691, allocations: 359 MB / 0.6052 GB, free: 10.98 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.362e-06/1.362e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.295e-05, allocations: 3.75 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.001517/0.00154, allocations: 0.8217 MB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.00274, allocations: 1.203 MB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/0.002795, allocations: 0 / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.72e-05/0.002832, allocations: 13.08 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.382e-05/0.002916, allocations: 15.86 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.003321, allocations: 136.2 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.003497, allocations: 149.1 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.003598, allocations: 19.98 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.003715, allocations: 83.86 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.635e-05/0.003801, allocations: 52.64 kB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.003827, allocations: 12 kB / 0.7895 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.412e-05/0.003891, allocations: 28.55 kB / 0.7896 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.003918, allocations: 19.92 kB / 0.7896 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.274e-05/0.00397, allocations: 44.59 kB / 0.7896 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.004135, allocations: 115.6 kB / 0.7897 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004137, allocations: 0.9062 kB / 0.7897 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.01e-07/0.004137, allocations: 0 / 0.7897 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.004142, allocations: 0.6562 kB / 0.7897 GB, free: 9.789 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.0004655/0.004608, allocations: 450.8 kB / 0.7902 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.004643, allocations: 8.031 kB / 0.7902 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.004698, allocations: 24.3 kB / 0.7902 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.073e-05/0.004779, allocations: 128.4 kB / 0.7903 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.004792, allocations: 4.375 kB / 0.7903 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.004811, allocations: 16.38 kB / 0.7903 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.004956, allocations: 78.92 kB / 0.7904 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.004963, allocations: 192 / 0.7904 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.004974, allocations: 384 / 0.7904 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.00498, allocations: 384 / 0.7904 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.812e-05/0.005028, allocations: 23.92 kB / 0.7904 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.005437, allocations: 360.1 kB / 0.7908 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.228e-05/0.005519, allocations: 40.7 kB / 0.7908 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.005546, allocations: 15.69 kB / 0.7908 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.005556, allocations: 12.02 kB / 0.7908 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.439e-05/0.00565, allocations: 66.39 kB / 0.7909 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.005652, allocations: 0 / 0.7909 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001852/0.005837, allocations: 81.62 kB / 0.791 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.005869, allocations: 56.94 kB / 0.791 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.97e-05/0.005959, allocations: 189.8 kB / 0.7912 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.00598, allocations: 29.7 kB / 0.7912 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.006036, allocations: 146.8 kB / 0.7914 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.006054, allocations: 15.89 kB / 0.7914 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.006109, allocations: 44.73 kB / 0.7914 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002406/0.00635, allocations: 0.4922 MB / 0.7919 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-05/0.006429, allocations: 57.69 kB / 0.792 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.651e-05/0.006515, allocations: 123.3 kB / 0.7921 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.671e-05/0.006602, allocations: 96.69 kB / 0.7922 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006604, allocations: 0.5312 kB / 0.7922 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002026/0.006807, allocations: 193.5 kB / 0.7924 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.006836, allocations: 38.58 kB / 0.7924 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.006841, allocations: 0 / 0.7924 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.006853, allocations: 0.8125 kB / 0.7924 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.006918, allocations: 7.984 kB / 0.7924 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.006924, allocations: 4.531 kB / 0.7924 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.339e-05/0.007017, allocations: 29.28 kB / 0.7925 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.007031, allocations: 4 kB / 0.7925 GB, free: 6.723 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 7.903e-05/0.00711, allocations: 173.6 kB / 0.7926 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.007122, allocations: 7.953 kB / 0.7926 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.007145, allocations: 13.17 kB / 0.7926 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.007149, allocations: 4 kB / 0.7926 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.007152, allocations: 0.625 kB / 0.7926 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.007155, allocations: 0 / 0.7926 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.123e-05/0.007246, allocations: 145.8 kB / 0.7928 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.007248, allocations: 320 / 0.7928 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.007273, allocations: 4 kB / 0.7928 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.007276, allocations: 0.625 kB / 0.7928 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.007285, allocations: 4 kB / 0.7928 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.007286, allocations: 5.219 kB / 0.7928 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.007287, allocations: 0 / 0.7928 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.007405, allocations: 112.2 kB / 0.7929 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-06/0.007412, allocations: 4.922 kB / 0.7929 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.007433, allocations: 11.94 kB / 0.7929 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.572e-05/0.007458, allocations: 7.984 kB / 0.7929 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.007503, allocations: 10.3 kB / 0.7929 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.00751, allocations: 3.984 kB / 0.7929 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.681e-05/0.007557, allocations: 135.2 kB / 0.7931 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007557, allocations: 0 / 0.7931 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001589/0.007716, allocations: 31.94 kB / 0.7931 GB, free: 6.004 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.0001208/0.007837, allocations: 102.6 kB / 0.7932 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001884/0.008025, allocations: 160.7 kB / 0.7934 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.008027, allocations: 0 / 0.7934 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.721e-05/0.008064, allocations: 23.67 kB / 0.7934 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.008215, allocations: 15.94 kB / 0.7934 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.008694, allocations: 187.3 kB / 0.7936 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.42e-05/0.008728, allocations: 59.84 kB / 0.7936 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.629e-05/0.008754, allocations: 4.562 kB / 0.7936 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.008782, allocations: 13.06 kB / 0.7936 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.008783, allocations: 1.25 kB / 0.7936 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of Templates: time 0.003696/0.01248, allocations: 1.943 MB / 0.7955 GB, free: 3.492 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.728876745793968]