Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.001128/0.001128, 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.001198/0.001198, 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.8965/0.8965, allocations: 177.1 MB / 204.2 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.904/1.904, allocations: 377.8 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.857e-05, allocations: 8.641 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002394/0.002422, allocations: 0.9112 MB / 0.8124 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.003642, allocations: 0.946 MB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.932e-05/0.003712, allocations: 1.531 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.835e-05/0.00376, allocations: 11.81 kB / 0.8134 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.003865, allocations: 23.78 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.004114, allocations: 52.31 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.00427, allocations: 124.5 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.004408, allocations: 41.62 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.004611, allocations: 80.47 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.635e-05/0.004698, allocations: 35.89 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.004725, allocations: 13.59 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.531e-05/0.00478, allocations: 20 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.681e-05/0.004807, allocations: 31.89 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.489e-05/0.004852, allocations: 35.91 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.005029, allocations: 96.12 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.005031, allocations: 0.7188 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.022e-06/0.005032, allocations: 0 / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.005037, allocations: 0.5312 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005182/0.005555, allocations: 461.6 kB / 0.8143 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.005593, allocations: 8.031 kB / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.005789, allocations: 40.83 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.006004, allocations: 159.6 kB / 0.8145 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.006019, allocations: 9 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.00604, allocations: 12.31 kB / 0.8146 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.006216, allocations: 91.66 kB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.00623, allocations: 5.031 kB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.006246, allocations: 8 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.006254, allocations: 0 / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.802e-05/0.006342, allocations: 37.28 kB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.006828, allocations: 367.4 kB / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.007014, allocations: 60.91 kB / 0.8151 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.908e-05/0.007063, allocations: 27.67 kB / 0.8151 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.007081, allocations: 0 / 0.8151 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.007106, allocations: 37.39 kB / 0.8152 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.007107, allocations: 6.156 kB / 0.8152 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002292/0.007336, allocations: 74.03 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.007366, allocations: 59.34 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.007489, allocations: 196 kB / 0.8155 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.007511, allocations: 29.7 kB / 0.8155 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.007837, allocations: 169.6 kB / 0.8157 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.007861, allocations: 11.91 kB / 0.8157 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.007913, allocations: 31.36 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.008043, allocations: 0.4923 MB / 0.8162 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.948e-05/0.008082, allocations: 16 kB / 0.8162 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-05/0.008165, allocations: 102.3 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.089e-05/0.008236, allocations: 23.69 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.008238, allocations: 0 / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001381/0.008376, allocations: 87.02 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.00839, allocations: 4 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.008394, allocations: 80 / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.008413, allocations: 3.938 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.252e-05/0.008476, allocations: 8.625 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.008482, allocations: 4.547 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.985e-05/0.008532, allocations: 12.48 kB / 0.8164 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.008542, allocations: 8 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.477e-05/0.008627, allocations: 161.1 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.008661, allocations: 13.3 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.008697, allocations: 16.77 kB / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.008701, allocations: 7.875 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.008705, allocations: 2.562 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.008708, allocations: 0 / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.008876, allocations: 156.7 kB / 0.8168 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008878, allocations: 0 / 0.8168 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.405e-05/0.008922, allocations: 11.98 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.008924, allocations: 0 / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.008934, allocations: 0 / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.008935, allocations: 0.7812 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.008937, allocations: 3.938 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.009111, allocations: 220.8 kB / 0.817 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.00913, allocations: 7.953 kB / 0.817 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.009155, allocations: 4 kB / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.009229, allocations: 9.172 kB / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.009289, allocations: 19.91 kB / 0.8171 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.009296, allocations: 4.844 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.609e-05/0.009362, allocations: 143.2 kB / 0.8172 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009362, allocations: 0 / 0.8172 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002693/0.009632, allocations: 28.61 kB / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 8.497e-05/0.009717, allocations: 99.06 kB / 0.8173 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.009859, allocations: 51.59 kB / 0.8174 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.009861, allocations: 0 / 0.8174 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.827e-05/0.009909, allocations: 27.67 kB / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.01019, allocations: 11.98 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006939/0.01088, allocations: 227.6 kB / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.652e-05/0.01093, allocations: 63.34 kB / 0.8177 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.057e-05/0.01098, allocations: 14.06 kB / 0.8177 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.01103, allocations: 16.5 kB / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of SimCode: time 7.31e-07/0.01103, allocations: 0 / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of Templates: time 0.003516/0.01454, allocations: 1.123 MB / 0.8188 GB, free: 9.984 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.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: 5.129556813277304]