Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.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.001611/0.001611, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001715/0.001715, allocations: 205.7 kB / 23 MB, free: 4.934 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.21/3.21, allocations: 0.49 GB / 0.7959 GB, free: 35.4 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.TimerWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|res.y|noThr.t|noThr.y|noThrRes.y|noThr.passed|noThrRes.passed|thrTim.u|thrTim.t|thrTim.y|thrTimRes.y|thrTim.passed|thrTimRes.passed|thrTim1.u|thrTim1.t|thrTim1.y|thrTim1Res.y|thrTim1.passed|thrTim1Res.passed",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|res.y|noThr.t|noThr.y|noThrRes.y|noThr.passed|noThrRes.passed|thrTim.u|thrTim.t|thrTim.y|thrTimRes.y|thrTim.passed|thrTimRes.passed|thrTim1.u|thrTim1.t|thrTim1.y|thrTim1Res.y|thrTim1.passed|thrTim1Res.passed",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset") [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.00204/0.00204, allocations: 69.25 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3081, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset): time 0.002289/0.3104, allocations: 0.9339 MB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002388/0.3127, allocations: 1.669 MB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.084e-05/0.3128, allocations: 7.938 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.89e-05/0.3129, allocations: 15.8 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.313, allocations: 35.66 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007997/0.3138, allocations: 324.8 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004628/0.3142, allocations: 447.1 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.3144, allocations: 45.86 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002647/0.3147, allocations: 183.6 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.3149, allocations: 187.4 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.117e-05/0.315, allocations: 40 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.3151, allocations: 59.94 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.739e-05/0.3152, allocations: 83.78 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.3154, allocations: 143.6 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004475/0.3158, allocations: 398.7 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3158, allocations: 0 / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3158, allocations: 0 / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.3159, allocations: 0 / 1.332 GB, free: 12.44 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001173/0.317, allocations: 0.574 MB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3171, allocations: 16.02 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.3172, allocations: 32.8 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000864/0.318, allocations: 262.8 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.111e-05/0.3181, allocations: 28.69 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.212e-05/0.3182, allocations: 48.11 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/0.3187, allocations: 280 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3188, allocations: 0 / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/0.3188, allocations: 15.97 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3188, allocations: 4 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004209/0.3192, allocations: 192 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.3206, allocations: 0.5621 MB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006247/0.3212, allocations: 311.3 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.3215, allocations: 123.6 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.3215, allocations: 0 / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006756/0.3222, allocations: 381.6 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=45): time 2.355e-06/0.3222, allocations: 4 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.001337/0.3235, allocations: 0.6822 MB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.3236, allocations: 75.12 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.3237, allocations: 164.8 kB / 1.335 GB, free: 8.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.004e-05/0.3238, allocations: 53.69 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.909e-05/0.3239, allocations: 113.3 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.324, allocations: 111.2 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.3242, allocations: 122.3 kB / 1.336 GB, free: 8.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3244, allocations: 338.8 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.3247, allocations: 208.6 kB / 1.336 GB, free: 7.602 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/0.3251, allocations: 318.8 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005442/0.3257, allocations: 398.8 kB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3257, allocations: 0 / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009565/0.3266, allocations: 0.5935 MB / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.108e-05/0.3267, allocations: 71.77 kB / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3267, allocations: 8 kB / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.3267, allocations: 8 kB / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.3269, allocations: 51.8 kB / 1.337 GB, free: 6.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.3269, allocations: 7.984 kB / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/0.3274, allocations: 91.66 kB / 1.338 GB, free: 5.922 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/0.3274, allocations: 28 kB / 1.338 GB, free: 5.895 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 59 (thrTim1Res.passed,$PRE.thrTim1Res.passed,thrTimRes.passed,$PRE.thrTimRes.passed,noThrRes.passed,$PRE.noThrRes.passed,thrTim1.passed,$PRE.thrTim1.passed,thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition4,thrTimRes.entryTime,$PRE.thrTimRes.entryTime,noThrRes.entryTime,$PRE.noThrRes.entryTime,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5,$whenCondition13,$whenCondition15,thrTim1Res.entryTime,$PRE.thrTim1Res.entryTime,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition16,res.entryTimeFalse,$PRE.res.entryTimeFalse,res.entryTimeTrue,$PRE.res.entryTimeTrue,res.not_y,$PRE.res.not_y,res.not_u,$PRE.res.not_u,res.y,$PRE.res.y,res.u,$PRE.res.u,$whenCondition14,$whenCondition17,$whenCondition18,$whenCondition19) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 2 * 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.0002086/0.3276, allocations: 198 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.3277, allocations: 23.86 kB / 1.338 GB, free: 5.668 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.852e-05/0.3278, allocations: 30.3 kB / 1.338 GB, free: 5.637 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.3278, allocations: 3.938 kB / 1.338 GB, free: 5.633 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3278, allocations: 0 / 1.338 GB, free: 5.633 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.3278, allocations: 23.8 kB / 1.338 GB, free: 5.609 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/0.3279, allocations: 23.97 kB / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.328, allocations: 27.97 kB / 1.338 GB, free: 5.559 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.3281, allocations: 59.83 kB / 1.338 GB, free: 5.5 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001072/0.3292, allocations: 0.6565 MB / 1.339 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001064/0.3303, allocations: 0.7483 MB / 1.339 GB, free: 4.07 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003251/0.3306, allocations: 176 kB / 1.339 GB, free: 3.898 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.009e-05/0.3307, allocations: 108.3 kB / 1.34 GB, free: 3.793 MB / 1.029 GB Notification: Performance of Backend: time 1.71e-07/0.3307, allocations: 4 kB / 1.34 GB, free: 3.789 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009418/0.3316, allocations: 0.5006 MB / 1.34 GB, free: 3.25 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008851/0.3325, allocations: 0.8102 MB / 1.341 GB, free: 2.387 MB / 1.029 GB Notification: Performance of Templates: time 0.01015/0.3427, allocations: 5.438 MB / 1.346 GB, free: 13.04 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_TimerWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.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.637837916001445]