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.0009512/0.0009512, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009859/0.0009859, allocations: 161 kB / 24.17 MB, free: 332 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 0.9452/0.9452, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.914/1.914, allocations: 377.9 MB / 0.624 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.914e-06/1.914e-06, allocations: 0 / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.394e-05, allocations: 3.188 kB / 0.76 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.00252/0.002544, allocations: 0.981 MB / 0.761 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002353/0.004897, allocations: 1.649 MB / 0.7626 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.005003, allocations: 9.281 kB / 0.7626 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.559e-05/0.005049, allocations: 15.8 kB / 0.7626 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.005179, allocations: 33.47 kB / 0.7626 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006049/0.005784, allocations: 209.6 kB / 0.7628 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.006117, allocations: 305 kB / 0.7631 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.006267, allocations: 67.48 kB / 0.7632 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003596/0.006627, allocations: 191.7 kB / 0.7634 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.006777, allocations: 96.47 kB / 0.7635 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.737e-05/0.006824, allocations: 32.53 kB / 0.7635 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.976e-05/0.006914, allocations: 39.98 kB / 0.7635 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.006971, allocations: 68.61 kB / 0.7636 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.007072, allocations: 83.86 kB / 0.7637 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.007367, allocations: 220.4 kB / 0.7639 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.00737, allocations: 0 / 0.7639 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.32e-07/0.007371, allocations: 0 / 0.7639 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.007375, allocations: 1.219 kB / 0.7639 GB, free: 2.727 MB / 0.7136 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.0006921/0.008067, allocations: 447.9 kB / 0.7643 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.008104, allocations: 12.03 kB / 0.7643 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.008293, allocations: 40.89 kB / 0.7644 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.008575, allocations: 179 kB / 0.7645 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.008613, allocations: 21.39 kB / 0.7646 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/0.008659, allocations: 24.38 kB / 0.7646 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.008988, allocations: 177.7 kB / 0.7647 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.008997, allocations: 6.25 kB / 0.7648 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.009024, allocations: 16.36 kB / 0.7648 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.009033, allocations: 3.938 kB / 0.7648 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.009234, allocations: 94.08 kB / 0.7649 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006734/0.009908, allocations: 333.1 kB / 0.7652 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.01009, allocations: 91.72 kB / 0.7653 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.166e-05/0.01018, allocations: 40.84 kB / 0.7653 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.0102, allocations: 4 kB / 0.7653 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002828/0.01048, allocations: 194.2 kB / 0.7655 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=27): time 2.124e-06/0.01048, allocations: 3.25 kB / 0.7655 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.0003729/0.01086, allocations: 196.5 kB / 0.7657 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.0109, allocations: 55.41 kB / 0.7657 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.011, allocations: 160.2 kB / 0.7659 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/0.01105, allocations: 45.64 kB / 0.7659 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.01111, allocations: 117 kB / 0.766 GB, free: 396 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.406e-05/0.01118, allocations: 63.55 kB / 0.7661 GB, free: 332 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.01129, allocations: 77.64 kB / 0.7662 GB, free: 248 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.01141, allocations: 333.8 kB / 0.7665 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.01153, allocations: 77.67 kB / 0.7666 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.01167, allocations: 113.2 kB / 0.7667 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.01186, allocations: 160.7 kB / 0.7668 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01186, allocations: 0 / 0.7668 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003399/0.0122, allocations: 247.2 kB / 0.7671 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.01224, allocations: 37.69 kB / 0.7671 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.01225, allocations: 0 / 0.7671 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.01226, allocations: 4 kB / 0.7671 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.0124, allocations: 36.58 kB / 0.7671 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.01241, allocations: 3.938 kB / 0.7671 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.01258, allocations: 52.75 kB / 0.7672 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.01261, allocations: 14.56 kB / 0.7672 GB, free: 15.12 MB / 0.7292 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.0001289/0.01274, allocations: 153.7 kB / 0.7674 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.01278, allocations: 23.98 kB / 0.7674 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.328e-05/0.01282, allocations: 25.08 kB / 0.7674 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.01283, allocations: 0 / 0.7674 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.01283, allocations: 0 / 0.7674 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.01283, allocations: 3.938 kB / 0.7674 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006783/0.01351, allocations: 364.9 kB / 0.7678 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.01352, allocations: 3.984 kB / 0.7678 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.903e-05/0.01358, allocations: 8 kB / 0.7678 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.01358, allocations: 4 kB / 0.7678 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.0136, allocations: 9.625 kB / 0.7678 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.0136, allocations: 4 kB / 0.7678 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.01361, allocations: 3.938 kB / 0.7678 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.01388, allocations: 248.8 kB / 0.768 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.0139, allocations: 21.14 kB / 0.768 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.575e-05/0.01396, allocations: 20 kB / 0.7681 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.01409, allocations: 11.98 kB / 0.7681 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.01416, allocations: 34.31 kB / 0.7681 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.01419, allocations: 15.98 kB / 0.7681 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.488e-05/0.01422, allocations: 34.83 kB / 0.7682 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.01422, allocations: 0 / 0.7682 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003092/0.01453, allocations: 67.94 kB / 0.7682 GB, free: 14.04 MB / 0.7292 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.0001728/0.01471, allocations: 112.6 kB / 0.7683 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003436/0.01505, allocations: 252.5 kB / 0.7686 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.01505, allocations: 1.406 kB / 0.7686 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.01518, allocations: 84.67 kB / 0.7687 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.01542, allocations: 31.91 kB / 0.7687 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007736/0.0162, allocations: 336.3 kB / 0.769 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.773e-05/0.01625, allocations: 76.95 kB / 0.7691 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.985e-05/0.01633, allocations: 27.27 kB / 0.7691 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.01648, allocations: 87.89 kB / 0.7692 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of SimCode: time 8.02e-07/0.01648, allocations: 1.5 kB / 0.7692 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of Templates: time 0.006562/0.02304, allocations: 3.032 MB / 0.7721 GB, free: 10.1 MB / 0.7292 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.09014276182279]