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.0009679/0.0009679, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001071/0.001071, allocations: 173.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 1.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.584/2.584, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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 2.244e-06/2.244e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.431e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002617/0.002641, allocations: 1.011 MB / 0.8396 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00227/0.004911, allocations: 1.66 MB / 0.8412 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.005036, allocations: 7.938 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 5.474e-05/0.005091, allocations: 11.81 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.005242, allocations: 31.72 kB / 0.8413 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.00585, allocations: 215.4 kB / 0.8415 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.006227, allocations: 303.7 kB / 0.8418 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.006387, allocations: 59.52 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003776/0.006765, allocations: 191.7 kB / 0.842 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.006926, allocations: 95.73 kB / 0.8421 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.192e-05/0.006977, allocations: 28 kB / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.007092, allocations: 55.91 kB / 0.8422 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.007151, allocations: 55.83 kB / 0.8422 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.007259, allocations: 91.78 kB / 0.8423 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.007591, allocations: 223.3 kB / 0.8425 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.007594, allocations: 0 / 0.8425 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.024e-06/0.007596, allocations: 0 / 0.8425 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.007604, allocations: 0 / 0.8425 GB, free: 10.17 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.0008053/0.00841, allocations: 445.7 kB / 0.843 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.503e-05/0.008475, allocations: 12.03 kB / 0.843 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.008695, allocations: 40.89 kB / 0.843 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.009003, allocations: 177.5 kB / 0.8432 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.009041, allocations: 16.66 kB / 0.8432 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.009084, allocations: 28.36 kB / 0.8432 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.009418, allocations: 178.1 kB / 0.8434 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.009429, allocations: 192 / 0.8434 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.009459, allocations: 24.33 kB / 0.8434 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.009468, allocations: 3.938 kB / 0.8434 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.009668, allocations: 100.8 kB / 0.8435 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006541/0.01032, allocations: 335.7 kB / 0.8438 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.0105, allocations: 90.53 kB / 0.8439 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/0.01058, allocations: 37.16 kB / 0.844 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.0106, allocations: 11.84 kB / 0.844 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002904/0.01089, allocations: 208.9 kB / 0.8442 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=27): time 1.914e-06/0.01089, allocations: 0 / 0.8442 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27): time 0.0003675/0.01126, allocations: 187.7 kB / 0.8443 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.0113, allocations: 63.33 kB / 0.8444 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.01142, allocations: 156.6 kB / 0.8446 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/0.01147, allocations: 45.69 kB / 0.8446 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/0.01154, allocations: 109 kB / 0.8447 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/0.0116, allocations: 67.5 kB / 0.8448 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.01172, allocations: 77.64 kB / 0.8448 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.01183, allocations: 330.8 kB / 0.8452 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.01195, allocations: 73.67 kB / 0.8452 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.01209, allocations: 112.5 kB / 0.8453 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.01228, allocations: 156.9 kB / 0.8455 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01228, allocations: 4 kB / 0.8455 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003263/0.01261, allocations: 249.7 kB / 0.8457 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.01264, allocations: 33.7 kB / 0.8458 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.01265, allocations: 3.984 kB / 0.8458 GB, free: 6.641 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.01267, allocations: 4 kB / 0.8458 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.01281, allocations: 39.92 kB / 0.8458 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.01282, allocations: 3.938 kB / 0.8458 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.01296, allocations: 39.86 kB / 0.8458 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.01299, allocations: 16.06 kB / 0.8459 GB, free: 6.539 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 0.0001291/0.01312, allocations: 153.7 kB / 0.846 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.01316, allocations: 19.98 kB / 0.846 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.015e-05/0.0132, allocations: 21.95 kB / 0.846 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.0132, allocations: 4 kB / 0.846 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.0132, allocations: 0 / 0.846 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.01321, allocations: 3.938 kB / 0.8461 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/0.01364, allocations: 363.5 kB / 0.8464 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01364, allocations: 4 kB / 0.8464 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.0137, allocations: 15.92 kB / 0.8464 GB, free: 5.934 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.0137, allocations: 0 / 0.8464 GB, free: 5.934 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.01373, allocations: 15.97 kB / 0.8464 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01373, allocations: 0 / 0.8464 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.01373, allocations: 3.938 kB / 0.8464 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.01402, allocations: 251.6 kB / 0.8467 GB, free: 5.652 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.01404, allocations: 19.83 kB / 0.8467 GB, free: 5.633 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.628e-05/0.0141, allocations: 20 kB / 0.8467 GB, free: 5.613 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.01422, allocations: 19.98 kB / 0.8467 GB, free: 5.594 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.223e-05/0.0143, allocations: 27.88 kB / 0.8468 GB, free: 5.566 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.01435, allocations: 15.98 kB / 0.8468 GB, free: 5.551 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.349e-05/0.01439, allocations: 33.8 kB / 0.8468 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01439, allocations: 0 / 0.8468 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003305/0.01472, allocations: 63.94 kB / 0.8469 GB, free: 5.453 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.0002273/0.01495, allocations: 122.3 kB / 0.847 GB, free: 5.324 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003507/0.0153, allocations: 246.4 kB / 0.8472 GB, free: 5.062 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.0153, allocations: 0 / 0.8472 GB, free: 5.062 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.09e-05/0.01539, allocations: 80.73 kB / 0.8473 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.01559, allocations: 31.97 kB / 0.8473 GB, free: 4.949 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005905/0.01618, allocations: 330.2 kB / 0.8476 GB, free: 4.598 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.252e-05/0.01623, allocations: 84.02 kB / 0.8477 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.769e-05/0.01629, allocations: 25.94 kB / 0.8477 GB, free: 4.469 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.0164, allocations: 87.34 kB / 0.8478 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of SimCode: time 4.61e-07/0.0164, allocations: 0 / 0.8478 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of Templates: time 0.004691/0.02109, allocations: 3.044 MB / 0.8508 GB, free: 1.387 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 -s gbode -gbm=radauIIA3 -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.571803486905992]