Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001377/0.001377, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001603/0.001603, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9507/0.9507, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.311/2.311, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.226e-05, allocations: 10.19 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.001523/0.001545, allocations: 0.9621 MB / 0.8395 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.003206, allocations: 1.653 MB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.754e-05/0.003294, allocations: 3.938 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.00333, allocations: 11.81 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.003446, allocations: 39.66 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.00388, allocations: 211.4 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.004128, allocations: 307.7 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.004253, allocations: 55.52 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.004522, allocations: 195.6 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.004626, allocations: 95.73 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.004661, allocations: 31.94 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.408e-05/0.004725, allocations: 51.98 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.911e-05/0.004764, allocations: 51.88 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.24e-05/0.004836, allocations: 87.8 kB / 0.8422 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.005044, allocations: 227.3 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.005046, allocations: 0 / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.51e-07/0.005046, allocations: 0 / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.00505, allocations: 0 / 0.8424 GB, free: 10.18 MB / 0.8073 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.0004925/0.005542, allocations: 449.6 kB / 0.8429 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.005573, allocations: 8.031 kB / 0.8429 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.005703, allocations: 48.89 kB / 0.8429 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.005891, allocations: 169.5 kB / 0.8431 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.005915, allocations: 20.66 kB / 0.8431 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.005945, allocations: 28.36 kB / 0.8431 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.006145, allocations: 178.1 kB / 0.8433 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.006151, allocations: 192 / 0.8433 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.00617, allocations: 16.34 kB / 0.8433 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.006177, allocations: 15.88 kB / 0.8433 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.0063, allocations: 92.89 kB / 0.8434 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.006762, allocations: 339.7 kB / 0.8438 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.006889, allocations: 78.55 kB / 0.8438 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/0.006941, allocations: 45.12 kB / 0.8439 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.006958, allocations: 7.906 kB / 0.8439 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005014/0.007459, allocations: 208.9 kB / 0.8441 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=27): time 1.422e-06/0.007461, allocations: 0 / 0.8441 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27): time 0.0002329/0.007694, allocations: 195.7 kB / 0.8443 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.007726, allocations: 63.33 kB / 0.8443 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.272e-05/0.007799, allocations: 152.2 kB / 0.8445 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.007826, allocations: 41.7 kB / 0.8445 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.007873, allocations: 113 kB / 0.8446 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.007917, allocations: 67.52 kB / 0.8447 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.357e-05/0.00799, allocations: 81.62 kB / 0.8448 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.409e-05/0.008075, allocations: 334.8 kB / 0.8451 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.089e-05/0.008145, allocations: 69.67 kB / 0.8451 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-05/0.008237, allocations: 112.5 kB / 0.8453 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.008378, allocations: 160.6 kB / 0.8454 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.00838, allocations: 0 / 0.8454 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002079/0.008588, allocations: 245.9 kB / 0.8456 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.008617, allocations: 33.7 kB / 0.8457 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.008622, allocations: 8 kB / 0.8457 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.008634, allocations: 4 kB / 0.8457 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.224e-05/0.008726, allocations: 39.91 kB / 0.8457 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.008731, allocations: 3.938 kB / 0.8457 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.112e-05/0.008822, allocations: 35.88 kB / 0.8458 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.008841, allocations: 15.98 kB / 0.8458 GB, free: 6.551 MB / 0.8073 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 9.317e-05/0.008934, allocations: 153.7 kB / 0.8459 GB, free: 6.391 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.008961, allocations: 23.97 kB / 0.8459 GB, free: 6.367 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.008987, allocations: 17.97 kB / 0.846 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.00899, allocations: 4 kB / 0.846 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.008993, allocations: 3.984 kB / 0.846 GB, free: 6.344 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.008997, allocations: 3.938 kB / 0.846 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.009298, allocations: 359.5 kB / 0.8463 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.0093, allocations: 0 / 0.8463 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.009334, allocations: 15.92 kB / 0.8463 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.009336, allocations: 4 kB / 0.8463 GB, free: 5.945 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.00935, allocations: 11.98 kB / 0.8463 GB, free: 5.934 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.009351, allocations: 0 / 0.8463 GB, free: 5.934 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.009353, allocations: 3.938 kB / 0.8463 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.009524, allocations: 251.6 kB / 0.8466 GB, free: 5.668 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.336e-05/0.009538, allocations: 19.84 kB / 0.8466 GB, free: 5.648 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.009571, allocations: 15.98 kB / 0.8466 GB, free: 5.633 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.482e-05/0.009636, allocations: 19.98 kB / 0.8466 GB, free: 5.613 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.009686, allocations: 31.83 kB / 0.8467 GB, free: 5.582 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.009709, allocations: 23.97 kB / 0.8467 GB, free: 5.559 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.351e-05/0.009733, allocations: 30.38 kB / 0.8467 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.009733, allocations: 0 / 0.8467 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000171/0.009904, allocations: 59.95 kB / 0.8468 GB, free: 5.469 MB / 0.8073 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.0001168/0.01002, allocations: 122.3 kB / 0.8469 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.01024, allocations: 246.2 kB / 0.8471 GB, free: 5.082 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.01025, allocations: 4.125 kB / 0.8471 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.953e-05/0.01033, allocations: 84.73 kB / 0.8472 GB, free: 4.992 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.01049, allocations: 34.22 kB / 0.8473 GB, free: 4.961 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005951/0.01109, allocations: 333.5 kB / 0.8476 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.142e-05/0.01114, allocations: 80.08 kB / 0.8476 GB, free: 4.512 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.174e-05/0.01119, allocations: 29.89 kB / 0.8477 GB, free: 4.48 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.0113, allocations: 87.34 kB / 0.8478 GB, free: 4.395 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.0113, allocations: 0 / 0.8478 GB, free: 4.395 MB / 0.8073 GB Notification: Performance of Templates: time 0.004802/0.0161, allocations: 3.037 MB / 0.8507 GB, free: 1.398 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.367174554150552]