Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.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.001543/0.001543, allocations: 100.8 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.001781/0.001781, allocations: 212.4 kB / 23.04 MB, free: 4.863 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.11/3.11, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] 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.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [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.002062/0.002062, allocations: 68.31 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3619, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002074/0.3639, allocations: 0.8392 MB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002735/0.3642, allocations: 91.7 kB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.417e-05/0.3643, allocations: 7.938 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.3644, allocations: 15.8 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.3646, allocations: 23.84 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.903e-05/0.3647, allocations: 44.03 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003067/0.365, allocations: 251.4 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003075/0.3653, allocations: 166.7 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.3654, allocations: 135.5 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.3656, allocations: 147.3 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.102e-05/0.3656, allocations: 32 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.403e-05/0.3657, allocations: 36 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.3658, allocations: 91.7 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.3659, allocations: 123.3 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.3664, allocations: 466 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3664, allocations: 0 / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3664, allocations: 0 / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.3664, allocations: 0 / 1.33 GB, free: 14.57 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0006987/0.3671, allocations: 0.5285 MB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.3671, allocations: 8.031 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.862e-05/0.3672, allocations: 56.53 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.3676, allocations: 267.3 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.359e-05/0.3677, allocations: 33.03 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.3677, allocations: 36.36 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006031/0.3683, allocations: 400.2 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3683, allocations: 192 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.3684, allocations: 15.94 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.3684, allocations: 11.94 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004808/0.3688, allocations: 311.4 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.3701, allocations: 0.8339 MB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.3703, allocations: 93.25 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.564e-05/0.3703, allocations: 45.69 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.3704, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.3704, allocations: 34.56 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.3704, allocations: 0 / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003234/0.3707, allocations: 157.4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.3708, allocations: 81.09 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.3711, allocations: 341.5 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.3711, allocations: 25.7 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.3713, allocations: 212.4 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.3713, allocations: 23.92 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.3714, allocations: 73.64 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3716, allocations: 334.8 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.3717, allocations: 71.89 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.3718, allocations: 91.14 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.372, allocations: 113.6 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.372, allocations: 0 / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002923/0.3723, allocations: 201.4 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3723, allocations: 4 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3723, allocations: 0 / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3723, allocations: 8.375 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.3725, allocations: 27.92 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.3725, allocations: 7.938 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.815e-05/0.3725, allocations: 23.78 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.3725, allocations: 8 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (couTru.booToInt[1].y,couTru.booToInt[2].y,couTru.booToInt[3].y,couTru.booToInt[4].y,couTru.booToInt[5].y,couTru.booToInt[6].y,couTru.intEqu.y,couTru.mulMin.y,couTru.y,couTruAllFal.booToInt[1].y,couTruAllFal.booToInt[2].y,couTruAllFal.booToInt[3].y,couTruAllFal.booToInt[4].y,couTruAllFal.booToInt[5].y,couTruAllFal.booToInt[6].y,couTruAllFal.intEqu.y,couTruAllFal.mulMin.y,couTruAllFal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.0002052/0.3727, allocations: 200 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.415e-05/0.3728, allocations: 19.91 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.373, allocations: 104.6 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.373, allocations: 4 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.373, allocations: 3.938 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.373, allocations: 0 / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005284/0.3736, allocations: 0.5547 MB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3736, allocations: 4 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.304e-05/0.3736, allocations: 8 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3736, allocations: 3.938 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.3736, allocations: 192 / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3736, allocations: 8 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3736, allocations: 0 / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.3738, allocations: 119.5 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.3738, allocations: 27.78 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.3738, allocations: 0 / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.793e-05/0.3738, allocations: 4 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.3739, allocations: 8.188 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.3739, allocations: 0 / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002499/0.3741, allocations: 241.1 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3741, allocations: 0 / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002558/0.3744, allocations: 59.73 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (couTru.y,couTru.intEqu.y,couTruAllFal.y,couTruAllFal.intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.00011/0.3745, allocations: 107.1 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.3747, allocations: 103.8 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3747, allocations: 0 / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.96e-05/0.3747, allocations: 15.94 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.375, allocations: 24.42 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007724/0.3757, allocations: 0.5037 MB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.3759, allocations: 183 kB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/0.376, allocations: 15.44 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.376, allocations: 8 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of Templates: time 0.005209/0.3812, allocations: 3.186 MB / 1.339 GB, free: 4.27 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.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.06581831886433]