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.001382/0.001382, 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.001528/0.001528, allocations: 222.6 kB / 23 MB, free: 4.91 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.137/3.137, allocations: 0.4892 GB / 0.7951 GB, free: 35.69 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.002299/0.002299, allocations: 64.53 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3723, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002605/0.3749, allocations: 0.8389 MB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003723/0.3752, allocations: 99.69 kB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.3754, allocations: 3.938 kB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.3755, allocations: 19.8 kB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.3757, allocations: 15.86 kB / 1.327 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.57e-05/0.3758, allocations: 39.97 kB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.3761, allocations: 255.4 kB / 1.328 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003764/0.3765, allocations: 174.8 kB / 1.328 GB, free: 456 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.3767, allocations: 127.6 kB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.3769, allocations: 155.2 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.577e-05/0.377, allocations: 32 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.763e-05/0.3771, allocations: 40 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.3772, allocations: 83.72 kB / 1.328 GB, free: 16 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.3773, allocations: 123.3 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005318/0.3779, allocations: 462.1 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.3779, allocations: 4 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3779, allocations: 0 / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.301e-05/0.3779, allocations: 0 / 1.329 GB, free: 15.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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001031/0.3789, allocations: 0.5324 MB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.379, allocations: 8.031 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.3791, allocations: 44.66 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.3796, allocations: 267.2 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.669e-05/0.3797, allocations: 45.02 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.686e-05/0.3798, allocations: 28.38 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006875/0.3805, allocations: 400.2 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.3805, allocations: 4.125 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.3805, allocations: 15.94 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.3805, allocations: 8 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005461/0.3811, allocations: 303.4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.3827, allocations: 0.8339 MB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.3829, allocations: 97.14 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.308e-05/0.383, allocations: 45.78 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.383, allocations: 4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.383, allocations: 38.5 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.383, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.000379/0.3834, allocations: 153.4 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.3835, allocations: 81.11 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.3839, allocations: 345.5 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.384, allocations: 25.7 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.3841, allocations: 224.3 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.3842, allocations: 7.953 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.3843, allocations: 85.56 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002155/0.3846, allocations: 326.8 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.3847, allocations: 67.95 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.3848, allocations: 91.75 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.385, allocations: 113.6 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.385, allocations: 0 / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003593/0.3854, allocations: 197.4 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3854, allocations: 4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3854, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3854, allocations: 8 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.3856, allocations: 31.92 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.3856, allocations: 3.938 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.567e-05/0.3857, allocations: 23.78 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.3857, allocations: 8 kB / 1.333 GB, free: 10.81 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.0002268/0.3859, allocations: 200 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/0.386, allocations: 15.91 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.3862, allocations: 116.6 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3862, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.3862, allocations: 3.938 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3862, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007313/0.387, allocations: 0.5547 MB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.387, allocations: 0 / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.719e-05/0.387, allocations: 7.984 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.387, allocations: 3.938 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.387, allocations: 4.188 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.387, allocations: 4 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.387, allocations: 0 / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.3872, allocations: 115.9 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.3872, allocations: 27.8 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.3872, allocations: 7.938 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.81e-05/0.3873, allocations: 4 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.3873, allocations: 12.02 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-06/0.3873, allocations: 0 / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002731/0.3876, allocations: 237.2 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3876, allocations: 0 / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002737/0.3879, allocations: 63.73 kB / 1.334 GB, free: 9.348 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.0001261/0.388, allocations: 103.1 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.3882, allocations: 100.2 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3882, allocations: 0 / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/0.3883, allocations: 15.94 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.3885, allocations: 26.62 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.3895, allocations: 0.5076 MB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.3898, allocations: 183 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.3899, allocations: 23.44 kB / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.3899, allocations: 0 / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of Templates: time 0.006625/0.3965, allocations: 3.183 MB / 1.338 GB, free: 5.148 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.329750316217542]