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.00135/0.00135, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001561/0.001561, allocations: 222 kB / 23 MB, free: 4.918 MB / 14.72 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 3.342/3.342, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 70.84 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3241, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002381/0.3265, allocations: 0.9376 MB / 1.366 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002467/0.329, allocations: 1.592 MB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.3291, allocations: 3.938 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.839e-05/0.3291, allocations: 11.81 kB / 1.367 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.3293, allocations: 35.72 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006648/0.3299, allocations: 222.2 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000377/0.3303, allocations: 307.4 kB / 1.368 GB, free: 10.51 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.3305, allocations: 54.8 kB / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003079/0.3308, allocations: 135.7 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.331, allocations: 111.6 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.292e-05/0.331, allocations: 28 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.3311, allocations: 55.92 kB / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.871e-05/0.3312, allocations: 55.83 kB / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.3313, allocations: 103.6 kB / 1.368 GB, free: 9.973 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.3317, allocations: 318.9 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3317, allocations: 0 / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3317, allocations: 3.938 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.3317, allocations: 4 kB / 1.368 GB, free: 9.652 MB / 1.061 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.0009031/0.3326, allocations: 471.4 kB / 1.369 GB, free: 9.152 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.3327, allocations: 12.03 kB / 1.369 GB, free: 9.141 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.3329, allocations: 36.77 kB / 1.369 GB, free: 9.105 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.3333, allocations: 202.2 kB / 1.369 GB, free: 8.883 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.3333, allocations: 24.64 kB / 1.369 GB, free: 8.859 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.494e-05/0.3334, allocations: 24.31 kB / 1.369 GB, free: 8.836 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/0.3339, allocations: 224 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3339, allocations: 0 / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.3339, allocations: 23.97 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3339, allocations: 4 kB / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004146/0.3343, allocations: 168.7 kB / 1.37 GB, free: 8.422 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009443/0.3353, allocations: 0.4884 MB / 1.37 GB, free: 7.902 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.3357, allocations: 150.3 kB / 1.37 GB, free: 7.746 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.3359, allocations: 92.8 kB / 1.37 GB, free: 7.652 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.3359, allocations: 3.984 kB / 1.37 GB, free: 7.648 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005143/0.3365, allocations: 264.8 kB / 1.371 GB, free: 7.375 MB / 1.061 GB Notification: Performance of pre-optimization done (n=27): time 1.723e-06/0.3365, allocations: 4 kB / 1.371 GB, free: 7.371 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.001014/0.3375, allocations: 427.4 kB / 1.371 GB, free: 6.949 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.3375, allocations: 55.41 kB / 1.371 GB, free: 6.883 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.3377, allocations: 151.1 kB / 1.371 GB, free: 6.727 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.569e-05/0.3377, allocations: 41.7 kB / 1.371 GB, free: 6.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.3378, allocations: 121 kB / 1.371 GB, free: 6.555 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.921e-05/0.3379, allocations: 67.53 kB / 1.371 GB, free: 6.488 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.338, allocations: 85.67 kB / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3382, allocations: 326.8 kB / 1.372 GB, free: 6.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.3385, allocations: 133.6 kB / 1.372 GB, free: 5.934 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.3388, allocations: 184.3 kB / 1.372 GB, free: 5.734 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.3391, allocations: 217.3 kB / 1.372 GB, free: 5.508 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3391, allocations: 0 / 1.372 GB, free: 5.508 MB / 1.061 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006738/0.3398, allocations: 390.1 kB / 1.373 GB, free: 5.109 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/0.3399, allocations: 49.62 kB / 1.373 GB, free: 5.055 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3399, allocations: 0 / 1.373 GB, free: 5.055 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3399, allocations: 0 / 1.373 GB, free: 5.055 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.34, allocations: 31.92 kB / 1.373 GB, free: 5.023 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.34, allocations: 0 / 1.373 GB, free: 5.023 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.3403, allocations: 55.78 kB / 1.373 GB, free: 4.969 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.3403, allocations: 12 kB / 1.373 GB, free: 4.957 MB / 1.061 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.0001845/0.3405, allocations: 166.8 kB / 1.373 GB, free: 4.789 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.3405, allocations: 19.84 kB / 1.373 GB, free: 4.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.326e-05/0.3406, allocations: 17.97 kB / 1.373 GB, free: 4.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3406, allocations: 4 kB / 1.373 GB, free: 4.746 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3406, allocations: 0 / 1.373 GB, free: 4.746 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.3406, allocations: 3.984 kB / 1.373 GB, free: 4.742 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009689/0.3416, allocations: 0.6082 MB / 1.374 GB, free: 4.098 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3416, allocations: 0 / 1.374 GB, free: 4.098 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.562e-05/0.3417, allocations: 15.92 kB / 1.374 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3417, allocations: 0 / 1.374 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.3417, allocations: 15.97 kB / 1.374 GB, free: 4.066 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3417, allocations: 0 / 1.374 GB, free: 4.066 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3417, allocations: 4 kB / 1.374 GB, free: 4.062 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007592/0.3425, allocations: 447.4 kB / 1.374 GB, free: 3.609 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.3425, allocations: 31.7 kB / 1.374 GB, free: 3.578 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.3425, allocations: 15.98 kB / 1.374 GB, free: 3.562 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.3427, allocations: 19.98 kB / 1.374 GB, free: 3.543 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.3428, allocations: 23.95 kB / 1.374 GB, free: 3.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.3428, allocations: 23.97 kB / 1.374 GB, free: 3.496 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.05e-05/0.3429, allocations: 105 kB / 1.374 GB, free: 3.395 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3429, allocations: 0 / 1.374 GB, free: 3.395 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00033/0.3432, allocations: 63.89 kB / 1.374 GB, free: 3.332 MB / 1.061 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.0002403/0.3435, allocations: 133 kB / 1.374 GB, free: 3.195 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006764/0.3441, allocations: 341.5 kB / 1.375 GB, free: 2.844 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3441, allocations: 0 / 1.375 GB, free: 2.844 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.3444, allocations: 119.8 kB / 1.375 GB, free: 2.727 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.3447, allocations: 36.05 kB / 1.375 GB, free: 2.691 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008018/0.3455, allocations: 395 kB / 1.375 GB, free: 2.273 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.3457, allocations: 112.5 kB / 1.375 GB, free: 2.145 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/0.3457, allocations: 35.42 kB / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.3457, allocations: 0 / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of Templates: time 0.005566/0.3513, allocations: 2.847 MB / 1.378 GB, free: 15.27 MB / 1.076 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/jenkins1/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: 11.20423825737089]