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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 193.3 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.978/2.978, allocations: 0.4893 GB / 0.7884 GB, free: 33.14 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001818/0.001818, allocations: 60.47 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3395, allocations: 174.9 MB / 1.316 GB, free: 9.742 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002545/0.3421, allocations: 1.007 MB / 1.317 GB, free: 8.738 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002448/0.3445, allocations: 1.587 MB / 1.319 GB, free: 7.133 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.3447, allocations: 7.938 kB / 1.319 GB, free: 7.125 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.291e-05/0.3447, allocations: 15.75 kB / 1.319 GB, free: 7.109 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.3449, allocations: 31.72 kB / 1.319 GB, free: 7.078 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007737/0.3456, allocations: 214.2 kB / 1.319 GB, free: 6.871 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.3461, allocations: 303.5 kB / 1.319 GB, free: 6.574 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.3463, allocations: 65.19 kB / 1.319 GB, free: 6.512 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000291/0.3466, allocations: 139.6 kB / 1.319 GB, free: 6.375 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.3468, allocations: 119.5 kB / 1.319 GB, free: 6.258 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.3469, allocations: 32 kB / 1.319 GB, free: 6.227 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.347, allocations: 43.98 kB / 1.319 GB, free: 6.184 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.832e-05/0.347, allocations: 59.88 kB / 1.32 GB, free: 6.125 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.3472, allocations: 119.5 kB / 1.32 GB, free: 6.008 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004055/0.3476, allocations: 318.9 kB / 1.32 GB, free: 5.695 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3476, allocations: 4 kB / 1.32 GB, free: 5.691 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3476, allocations: 0 / 1.32 GB, free: 5.691 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.3476, allocations: 0 / 1.32 GB, free: 5.691 MB / 1.014 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.0009391/0.3485, allocations: 475.4 kB / 1.32 GB, free: 5.188 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3486, allocations: 8.031 kB / 1.32 GB, free: 5.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.058e-05/0.3487, allocations: 24.84 kB / 1.32 GB, free: 5.156 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.349, allocations: 203.5 kB / 1.321 GB, free: 4.934 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/0.3491, allocations: 24.64 kB / 1.321 GB, free: 4.91 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.3491, allocations: 24.38 kB / 1.321 GB, free: 4.887 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.3496, allocations: 225.1 kB / 1.321 GB, free: 4.664 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.3496, allocations: 0 / 1.321 GB, free: 4.664 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.3496, allocations: 19.95 kB / 1.321 GB, free: 4.645 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3496, allocations: 7.938 kB / 1.321 GB, free: 4.637 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004217/0.3501, allocations: 176.6 kB / 1.321 GB, free: 4.465 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009944/0.3511, allocations: 0.5853 MB / 1.322 GB, free: 3.836 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.3515, allocations: 154.5 kB / 1.322 GB, free: 3.676 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.3517, allocations: 84.8 kB / 1.322 GB, free: 3.59 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.3517, allocations: 4.312 kB / 1.322 GB, free: 3.586 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005125/0.3522, allocations: 270.2 kB / 1.322 GB, free: 3.309 MB / 1.014 GB Notification: Performance of pre-optimization done (n=27): time 1.843e-06/0.3522, allocations: 0 / 1.322 GB, free: 3.309 MB / 1.014 GB Notification: Performance of matching and sorting (n=27): time 0.000949/0.3532, allocations: 420.4 kB / 1.323 GB, free: 2.895 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.3532, allocations: 59.39 kB / 1.323 GB, free: 2.824 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.3534, allocations: 155.4 kB / 1.323 GB, free: 2.664 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.783e-05/0.3534, allocations: 49.69 kB / 1.323 GB, free: 2.609 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.688e-05/0.3535, allocations: 117 kB / 1.323 GB, free: 2.488 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.328e-05/0.3536, allocations: 67.52 kB / 1.323 GB, free: 2.422 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.3538, allocations: 77.69 kB / 1.323 GB, free: 2.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3539, allocations: 330.8 kB / 1.323 GB, free: 2.008 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.3542, allocations: 104 kB / 1.323 GB, free: 1.906 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.3544, allocations: 151.3 kB / 1.324 GB, free: 1.75 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004128/0.3548, allocations: 217.3 kB / 1.324 GB, free: 1.523 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3548, allocations: 0 / 1.324 GB, free: 1.523 MB / 1.014 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000663/0.3555, allocations: 364.5 kB / 1.324 GB, free: 1.156 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.3555, allocations: 33.7 kB / 1.324 GB, free: 1.117 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3555, allocations: 4.062 kB / 1.324 GB, free: 1.113 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3556, allocations: 4 kB / 1.324 GB, free: 1.109 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.3557, allocations: 35.91 kB / 1.324 GB, free: 1.074 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3557, allocations: 4 kB / 1.324 GB, free: 1.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.356, allocations: 43.8 kB / 1.324 GB, free: 1.027 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.356, allocations: 19.98 kB / 1.324 GB, free: 1.008 MB / 1.014 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.0001759/0.3562, allocations: 154.4 kB / 1.324 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.3562, allocations: 23.83 kB / 1.324 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.573e-05/0.3563, allocations: 21.97 kB / 1.324 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3563, allocations: 4 kB / 1.324 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3563, allocations: 0 / 1.324 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3563, allocations: 0 / 1.324 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.3573, allocations: 0.6746 MB / 1.325 GB, free: 80 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3573, allocations: 0 / 1.325 GB, free: 80 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.3575, allocations: 15.92 kB / 1.325 GB, free: 64 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3575, allocations: 0 / 1.325 GB, free: 64 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/0.3575, allocations: 15.97 kB / 1.325 GB, free: 48 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3575, allocations: 3.938 kB / 1.325 GB, free: 44 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3575, allocations: 0 / 1.325 GB, free: 44 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007233/0.3582, allocations: 431.4 kB / 1.326 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.3583, allocations: 19.84 kB / 1.326 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.3583, allocations: 19.98 kB / 1.326 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3585, allocations: 15.98 kB / 1.326 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/0.3585, allocations: 27.95 kB / 1.326 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.3586, allocations: 27.91 kB / 1.326 GB, free: 15.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.98e-05/0.3587, allocations: 108.8 kB / 1.326 GB, free: 15.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3587, allocations: 0 / 1.326 GB, free: 15.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003267/0.359, allocations: 67.83 kB / 1.326 GB, free: 15.32 MB / 1.029 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.0002154/0.3592, allocations: 137.5 kB / 1.326 GB, free: 15.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006709/0.3599, allocations: 311.8 kB / 1.326 GB, free: 14.87 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3599, allocations: 0 / 1.326 GB, free: 14.87 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.3602, allocations: 115.9 kB / 1.326 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.3605, allocations: 27.91 kB / 1.326 GB, free: 14.73 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008544/0.3613, allocations: 365.4 kB / 1.327 GB, free: 14.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.3618, allocations: 0.7325 MB / 1.327 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.33e-05/0.3619, allocations: 17.95 kB / 1.328 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.3619, allocations: 23.42 kB / 1.328 GB, free: 13.54 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.3619, allocations: 4 kB / 1.328 GB, free: 13.54 MB / 1.029 GB Notification: Performance of Templates: time 0.007602/0.3695, allocations: 2.898 MB / 1.33 GB, free: 10.64 MB / 1.029 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.161004262976348]