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.001323/0.001323, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.00146/0.00146, allocations: 212.4 kB / 23.04 MB, free: 4.867 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.284/3.284, allocations: 0.49 GB / 0.7959 GB, free: 35.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002041/0.002041, allocations: 64.7 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3265, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002348/0.3288, allocations: 0.938 MB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002348/0.3312, allocations: 1.595 MB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.033e-05/0.3313, allocations: 4 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.077e-05/0.3313, allocations: 15.75 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.3315, allocations: 31.78 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.3321, allocations: 217.9 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003451/0.3324, allocations: 307.4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.3326, allocations: 62.67 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000283/0.3328, allocations: 143.6 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.333, allocations: 107.5 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.898e-05/0.333, allocations: 36 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.3332, allocations: 51.92 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.138e-05/0.3332, allocations: 55.88 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.3333, allocations: 99.62 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.3337, allocations: 315 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3337, allocations: 3.938 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3337, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.3337, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 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.0008899/0.3346, allocations: 475.4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3347, allocations: 8.031 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.3349, allocations: 40.78 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.3353, allocations: 207.9 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.3353, allocations: 20.66 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/0.3353, allocations: 24.36 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004698/0.3358, allocations: 220.1 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3358, allocations: 4 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.3359, allocations: 15.97 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3359, allocations: 4 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004038/0.3363, allocations: 168.7 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008742/0.3371, allocations: 0.4922 MB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.3376, allocations: 154.4 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.3378, allocations: 84.81 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.3378, allocations: 4 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004966/0.3383, allocations: 257.7 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.944e-06/0.3383, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.001001/0.3393, allocations: 432.1 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.3394, allocations: 55.41 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.3395, allocations: 151 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.349e-05/0.3396, allocations: 45.7 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.3397, allocations: 128.9 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/0.3397, allocations: 71.52 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.3399, allocations: 81.67 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.34, allocations: 326.8 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.3403, allocations: 137.6 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.3405, allocations: 181 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.3409, allocations: 221.3 kB / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3409, allocations: 0 / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006447/0.3415, allocations: 394 kB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.3416, allocations: 37.62 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3416, allocations: 4 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3416, allocations: 0 / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.3418, allocations: 35.92 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3418, allocations: 0 / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.342, allocations: 51.8 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.342, allocations: 16 kB / 1.335 GB, free: 8.262 MB / 1.029 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.0001618/0.3422, allocations: 158.4 kB / 1.336 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.3422, allocations: 23.78 kB / 1.336 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/0.3423, allocations: 25.95 kB / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3423, allocations: 0 / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3423, allocations: 8 kB / 1.336 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3423, allocations: 3.984 kB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009364/0.3433, allocations: 0.6033 MB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3433, allocations: 0 / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.639e-05/0.3433, allocations: 15.98 kB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3433, allocations: 0 / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.3434, allocations: 11.98 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3434, allocations: 3.938 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3434, allocations: 3.984 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007095/0.3441, allocations: 448.3 kB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.3441, allocations: 11.91 kB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.3441, allocations: 20 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.3443, allocations: 15.97 kB / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/0.3444, allocations: 31.95 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.3444, allocations: 15.98 kB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.535e-05/0.3445, allocations: 108.6 kB / 1.337 GB, free: 6.711 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3445, allocations: 0 / 1.337 GB, free: 6.711 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003166/0.3448, allocations: 59.94 kB / 1.337 GB, free: 6.652 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.0002196/0.345, allocations: 143.1 kB / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006551/0.3457, allocations: 341.6 kB / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3457, allocations: 0 / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.3459, allocations: 124.2 kB / 1.337 GB, free: 6.031 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.3463, allocations: 27.86 kB / 1.337 GB, free: 6.004 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007903/0.347, allocations: 405.5 kB / 1.338 GB, free: 5.578 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.3472, allocations: 116.5 kB / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.965e-05/0.3472, allocations: 31.42 kB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of SimCode: time 3.5e-07/0.3472, allocations: 0 / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of Templates: time 0.005136/0.3524, allocations: 2.844 MB / 1.341 GB, free: 2.57 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.12256527505815]