Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.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.0008996/0.0008996, 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.001068/0.001068, allocations: 169 kB / 24.28 MB, free: 272 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 1.04/1.04, 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 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.908/1.908, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] 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.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y|booPul.y|hol.y|holTim.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y|booPul.y|hol.y|holTim.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.896e-06/2.896e-06, allocations: 0 / 0.8115 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.267e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002261/0.002294, allocations: 0.9769 MB / 0.8125 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.004049, allocations: 1.636 MB / 0.8141 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.004149, allocations: 7.938 kB / 0.8141 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.903e-05/0.004188, allocations: 11.81 kB / 0.8141 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.004294, allocations: 29.2 kB / 0.8141 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.004829, allocations: 216.9 kB / 0.8143 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.005108, allocations: 311.4 kB / 0.8146 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.005248, allocations: 50.92 kB / 0.8147 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003984/0.005646, allocations: 201 kB / 0.8149 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.005774, allocations: 95.73 kB / 0.8149 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.005809, allocations: 28 kB / 0.815 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.61e-05/0.005885, allocations: 52.59 kB / 0.815 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.399e-05/0.005929, allocations: 63.8 kB / 0.8151 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.865e-05/0.006017, allocations: 88.95 kB / 0.8152 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.006267, allocations: 227.2 kB / 0.8154 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.00627, allocations: 0 / 0.8154 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.193e-06/0.006271, allocations: 0.5312 kB / 0.8154 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.006276, allocations: 0.7188 kB / 0.8154 GB, free: 14.12 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006537/0.00693, allocations: 0.5578 MB / 0.8159 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.006968, allocations: 8.031 kB / 0.8159 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.007146, allocations: 45.45 kB / 0.816 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.007399, allocations: 213.4 kB / 0.8162 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.007436, allocations: 28.62 kB / 0.8162 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.007467, allocations: 21.12 kB / 0.8162 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.007774, allocations: 206.7 kB / 0.8164 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.007782, allocations: 192 / 0.8164 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.007804, allocations: 13.64 kB / 0.8164 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.007815, allocations: 7.938 kB / 0.8165 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.00801, allocations: 112.7 kB / 0.8166 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007146/0.008725, allocations: 0.5519 MB / 0.8171 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.008932, allocations: 113.2 kB / 0.8172 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.54e-05/0.009017, allocations: 55.66 kB / 0.8173 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.009037, allocations: 4 kB / 0.8173 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002588/0.009295, allocations: 227.2 kB / 0.8175 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=27): time 3.627e-06/0.009299, allocations: 0 / 0.8175 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.0004751/0.009774, allocations: 344.2 kB / 0.8178 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.009812, allocations: 59.34 kB / 0.8179 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.009923, allocations: 208.2 kB / 0.8181 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.009956, allocations: 45.7 kB / 0.8181 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.01004, allocations: 163.7 kB / 0.8183 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.01009, allocations: 71.52 kB / 0.8183 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.106e-05/0.01018, allocations: 79.34 kB / 0.8184 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.01031, allocations: 0.5047 MB / 0.8189 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.01045, allocations: 97.66 kB / 0.819 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.0106, allocations: 150.1 kB / 0.8191 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.0108, allocations: 171.1 kB / 0.8193 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.0108, allocations: 0 / 0.8193 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003716/0.01117, allocations: 339.1 kB / 0.8196 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.01121, allocations: 41.69 kB / 0.8197 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01121, allocations: 0.5938 kB / 0.8197 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.01123, allocations: 7.938 kB / 0.8197 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.01135, allocations: 36.48 kB / 0.8197 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.01136, allocations: 5.969 kB / 0.8197 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.01147, allocations: 47.86 kB / 0.8198 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.01149, allocations: 8 kB / 0.8198 GB, free: 9.383 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition5,$whenCondition6,holTim.truHol.entryTimeFalse,$PRE.holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,$PRE.holTim.truHol.entryTimeTrue,holTim.truHol.not_y,$PRE.holTim.truHol.not_y,holTim.truHol.not_u,$PRE.holTim.truHol.not_u,holTim.truHol.y,$PRE.holTim.truHol.y,holTim.truHol.u,$PRE.holTim.truHol.u,holTim.triSam.y,$PRE.holTim.triSam.y,booPul.y,$PRE.booPul.y,hol.truHol.entryTimeFalse,$PRE.hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,$PRE.hol.truHol.entryTimeTrue,hol.truHol.not_y,$PRE.hol.truHol.not_y,hol.truHol.not_u,$PRE.hol.truHol.not_u,hol.truHol.y,$PRE.hol.truHol.y,hol.truHol.u,$PRE.hol.truHol.u,hol.triSam.y,$PRE.hol.triSam.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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.0001206/0.01161, allocations: 198.2 kB / 0.82 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.01165, allocations: 27.91 kB / 0.82 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.01168, allocations: 27.3 kB / 0.82 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.01169, allocations: 7.938 kB / 0.82 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01169, allocations: 0 / 0.82 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.01169, allocations: 0 / 0.82 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.01219, allocations: 0.588 MB / 0.8206 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01219, allocations: 5.312 kB / 0.8206 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.01224, allocations: 11.98 kB / 0.8206 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01224, allocations: 4 kB / 0.8206 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.87e-05/0.01226, allocations: 11.92 kB / 0.8206 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.01226, allocations: 3.844 kB / 0.8206 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01226, allocations: 0 / 0.8206 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.01261, allocations: 444.8 kB / 0.821 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.01262, allocations: 15.84 kB / 0.8211 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.01266, allocations: 19.94 kB / 0.8211 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.01274, allocations: 19.97 kB / 0.8211 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/0.0128, allocations: 27.89 kB / 0.8211 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.01283, allocations: 19.98 kB / 0.8211 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.534e-05/0.01289, allocations: 149.2 kB / 0.8213 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01289, allocations: 0.9375 kB / 0.8213 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002233/0.01311, allocations: 59.95 kB / 0.8213 GB, free: 7.707 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: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hol.triSam.y,hol.truHol.u,hol.truHol.y,hol.truHol.not_u,hol.truHol.not_y,hol.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,booPul.y,holTim.triSam.y,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_u,holTim.truHol.not_y,holTim.truHol.entryTimeTrue,holTim.truHol.entryTimeFalse) * Number of discrete states: 12 (holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,holTim.truHol.not_u,hol.truHol.u,hol.truHol.not_u,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_y,hol.truHol.y,hol.truHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0001745/0.01328, allocations: 135.3 kB / 0.8215 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003488/0.01363, allocations: 291.2 kB / 0.8218 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01363, allocations: 0 / 0.8218 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.01383, allocations: 103.5 kB / 0.8219 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.01406, allocations: 32.97 kB / 0.8219 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000697/0.01476, allocations: 349.2 kB / 0.8222 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.771e-05/0.01481, allocations: 85.66 kB / 0.8223 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.436e-05/0.01486, allocations: 22.5 kB / 0.8223 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.941e-05/0.01491, allocations: 29.27 kB / 0.8223 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of SimCode: time 8.21e-07/0.01491, allocations: 0 / 0.8223 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of Templates: time 0.004873/0.01979, allocations: 2.892 MB / 0.8252 GB, free: 3.77 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal.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.283517905045301]