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.0009956/0.0009956, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.00102/0.00102, allocations: 171.1 kB / 24.87 MB, free: 8.891 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.9953/0.9953, allocations: 177.2 MB / 205.3 MB, free: 5.508 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.934/1.934, allocations: 377.9 MB / 0.6247 GB, free: 8.363 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.224e-06/2.224e-06, allocations: 0 / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.949e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002142/0.002171, allocations: 0.9637 MB / 0.8137 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.003857, allocations: 1.627 MB / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.992e-05/0.003947, allocations: 8.625 kB / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.943e-05/0.003986, allocations: 11.81 kB / 0.8153 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.004093, allocations: 44.5 kB / 0.8154 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.004547, allocations: 209 kB / 0.8156 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000246/0.004793, allocations: 303.4 kB / 0.8159 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.004921, allocations: 52.19 kB / 0.8159 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000296/0.005217, allocations: 203.5 kB / 0.8161 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.005334, allocations: 101.1 kB / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.005372, allocations: 28 kB / 0.8162 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.499e-05/0.005447, allocations: 47.97 kB / 0.8163 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.132e-05/0.005488, allocations: 51.88 kB / 0.8163 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.748e-05/0.005565, allocations: 93.3 kB / 0.8164 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.00579, allocations: 223.3 kB / 0.8166 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.005793, allocations: 0 / 0.8166 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.52e-07/0.005794, allocations: 0 / 0.8166 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.005801, allocations: 1.406 kB / 0.8166 GB, free: 13.48 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.0006003/0.006401, allocations: 0.5564 MB / 0.8172 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.006436, allocations: 12.66 kB / 0.8172 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.006589, allocations: 57.8 kB / 0.8172 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.006813, allocations: 204.9 kB / 0.8174 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.006844, allocations: 26.61 kB / 0.8175 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.006875, allocations: 24.31 kB / 0.8175 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.007121, allocations: 185 kB / 0.8177 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.007129, allocations: 192 / 0.8177 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.007147, allocations: 8.359 kB / 0.8177 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.007155, allocations: 8.469 kB / 0.8177 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.007309, allocations: 102.8 kB / 0.8178 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005586/0.007868, allocations: 0.5166 MB / 0.8183 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.00802, allocations: 95.53 kB / 0.8184 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.008082, allocations: 48.78 kB / 0.8184 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.008098, allocations: 4 kB / 0.8184 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.008326, allocations: 208.7 kB / 0.8186 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=27): time 1.863e-06/0.008328, allocations: 0 / 0.8186 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.0003939/0.008721, allocations: 309.5 kB / 0.8189 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.008758, allocations: 63.33 kB / 0.819 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.893e-05/0.008857, allocations: 200.2 kB / 0.8192 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.008892, allocations: 47.59 kB / 0.8192 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.00896, allocations: 171.7 kB / 0.8194 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.009005, allocations: 63.52 kB / 0.8194 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-05/0.009092, allocations: 91.28 kB / 0.8195 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.009211, allocations: 0.5039 MB / 0.82 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.29e-05/0.009304, allocations: 82.98 kB / 0.8201 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.00941, allocations: 133.7 kB / 0.8202 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.009551, allocations: 154.5 kB / 0.8204 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.009554, allocations: 0 / 0.8204 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002988/0.009853, allocations: 320.1 kB / 0.8207 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.009886, allocations: 40.03 kB / 0.8207 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.009891, allocations: 0 / 0.8207 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.009901, allocations: 0 / 0.8207 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.01, allocations: 35.92 kB / 0.8207 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.01001, allocations: 7.938 kB / 0.8207 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.01011, allocations: 47.25 kB / 0.8208 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.01013, allocations: 15.98 kB / 0.8208 GB, free: 8.949 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.0001166/0.01025, allocations: 196.4 kB / 0.821 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.01029, allocations: 31.89 kB / 0.821 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.01032, allocations: 18.69 kB / 0.821 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01032, allocations: 0 / 0.821 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01033, allocations: 4.438 kB / 0.821 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01033, allocations: 8.547 kB / 0.8211 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.01077, allocations: 0.5452 MB / 0.8216 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01077, allocations: 1.344 kB / 0.8216 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.01082, allocations: 15.94 kB / 0.8216 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.01082, allocations: 3.984 kB / 0.8216 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.01083, allocations: 11.98 kB / 0.8216 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01084, allocations: 0.5938 kB / 0.8216 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.01084, allocations: 4.75 kB / 0.8216 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.01114, allocations: 416.9 kB / 0.822 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.01115, allocations: 12.84 kB / 0.822 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.0112, allocations: 19.98 kB / 0.8221 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.01127, allocations: 16.64 kB / 0.8221 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.01133, allocations: 27.89 kB / 0.8221 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.01135, allocations: 21.28 kB / 0.8221 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.895e-05/0.0114, allocations: 144 kB / 0.8223 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.0114, allocations: 0 / 0.8223 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000218/0.01162, allocations: 71.77 kB / 0.8223 GB, free: 7.352 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.0001454/0.01177, allocations: 133.2 kB / 0.8225 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002704/0.01204, allocations: 266.1 kB / 0.8227 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01204, allocations: 4 kB / 0.8227 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.362e-05/0.01213, allocations: 87.53 kB / 0.8228 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.01236, allocations: 32.91 kB / 0.8228 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.01294, allocations: 341.8 kB / 0.8231 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.096e-05/0.01299, allocations: 84.19 kB / 0.8232 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.422e-05/0.01304, allocations: 23.97 kB / 0.8233 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.01316, allocations: 110.2 kB / 0.8234 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of SimCode: time 7.22e-07/0.01316, allocations: 0 / 0.8234 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of Templates: time 0.00504/0.0182, allocations: 3.203 MB / 0.8265 GB, free: 3.062 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.248496507760137]