Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 249.4 MB, free: 3.293 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.967/2.967, allocations: 496.2 MB / 0.7819 GB, free: 12.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 71.83 kB / 1.136 GB, free: 12.52 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179/1.181, allocations: 173.6 MB / 1.305 GB, free: 33.47 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.00229/1.184, allocations: 0.8737 MB / 1.306 GB, free: 32.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002828/1.184, allocations: 98.56 kB / 1.306 GB, free: 32.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.363e-05/1.184, allocations: 5.938 kB / 1.306 GB, free: 32.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001351/1.184, allocations: 22.41 kB / 1.306 GB, free: 32.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001447/1.184, allocations: 18.81 kB / 1.306 GB, free: 32.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.506e-05/1.184, allocations: 40.12 kB / 1.306 GB, free: 32.78 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002351/1.185, allocations: 250.2 kB / 1.307 GB, free: 32.67 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002849/1.185, allocations: 172.5 kB / 1.307 GB, free: 32.58 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/1.185, allocations: 136.9 kB / 1.307 GB, free: 32.51 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/1.185, allocations: 138.2 kB / 1.307 GB, free: 32.43 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.973e-05/1.185, allocations: 33.44 kB / 1.307 GB, free: 32.43 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.367e-05/1.185, allocations: 31.75 kB / 1.307 GB, free: 32.43 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.142e-05/1.185, allocations: 87.62 kB / 1.307 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001139/1.185, allocations: 153.6 kB / 1.307 GB, free: 32.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003567/1.186, allocations: 469 kB / 1.308 GB, free: 32.09 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.186, allocations: 4 kB / 1.308 GB, free: 32.09 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.302e-06/1.186, allocations: 0 / 1.308 GB, free: 32.09 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.185e-06/1.186, allocations: 0 / 1.308 GB, free: 32.09 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0006683/1.187, allocations: 0.6092 MB / 1.308 GB, free: 31.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/1.187, allocations: 8.844 kB / 1.308 GB, free: 31.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.22e-05/1.187, allocations: 43.42 kB / 1.308 GB, free: 31.53 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/1.187, allocations: 332.7 kB / 1.309 GB, free: 31.26 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.337e-05/1.187, allocations: 32.31 kB / 1.309 GB, free: 31.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/1.187, allocations: 42.53 kB / 1.309 GB, free: 31.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/1.188, allocations: 396.8 kB / 1.309 GB, free: 31.07 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/1.188, allocations: 2.812 kB / 1.309 GB, free: 31.07 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/1.188, allocations: 14.88 kB / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/1.188, allocations: 8.406 kB / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/1.188, allocations: 301.7 kB / 1.31 GB, free: 30.96 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/1.189, allocations: 1.055 MB / 1.311 GB, free: 30.31 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/1.189, allocations: 83.84 kB / 1.311 GB, free: 30.24 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/1.19, allocations: 49.7 kB / 1.311 GB, free: 30.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/1.19, allocations: 0 / 1.311 GB, free: 30.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/1.19, allocations: 42.5 kB / 1.311 GB, free: 30.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/1.19, allocations: 0 / 1.311 GB, free: 30.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0003008/1.19, allocations: 168.4 kB / 1.311 GB, free: 30.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/1.19, allocations: 86.97 kB / 1.311 GB, free: 29.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004491/1.19, allocations: 0.501 MB / 1.312 GB, free: 29.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/1.19, allocations: 25.7 kB / 1.312 GB, free: 29.72 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/1.19, allocations: 212 kB / 1.312 GB, free: 29.55 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/1.191, allocations: 10.61 kB / 1.312 GB, free: 29.54 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.438e-05/1.191, allocations: 63.02 kB / 1.312 GB, free: 29.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.072e-05/1.191, allocations: 345.4 kB / 1.312 GB, free: 29.17 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.094e-05/1.191, allocations: 65.16 kB / 1.312 GB, free: 29.15 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.287e-05/1.191, allocations: 86.69 kB / 1.312 GB, free: 29.11 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/1.191, allocations: 119.8 kB / 1.312 GB, free: 29.05 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.191, allocations: 2.844 kB / 1.312 GB, free: 29.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002495/1.191, allocations: 203.3 kB / 1.313 GB, free: 28.95 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.191, allocations: 13.72 kB / 1.313 GB, free: 28.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.191, allocations: 0 / 1.313 GB, free: 28.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/1.191, allocations: 0 / 1.313 GB, free: 28.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/1.191, allocations: 35.14 kB / 1.313 GB, free: 28.94 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/1.191, allocations: 6.781 kB / 1.313 GB, free: 28.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.014e-05/1.191, allocations: 31.91 kB / 1.313 GB, free: 28.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/1.192, allocations: 8.531 kB / 1.313 GB, free: 28.91 MB / 1.061 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.0001645/1.192, allocations: 206 kB / 1.313 GB, free: 28.76 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/1.192, allocations: 29.16 kB / 1.313 GB, free: 28.74 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/1.192, allocations: 118.4 kB / 1.313 GB, free: 28.66 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.192, allocations: 3.938 kB / 1.313 GB, free: 28.66 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/1.192, allocations: 2.844 kB / 1.313 GB, free: 28.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.192, allocations: 3.375 kB / 1.313 GB, free: 28.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/1.192, allocations: 0.6593 MB / 1.314 GB, free: 28.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.192, allocations: 0 / 1.314 GB, free: 28.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.016e-05/1.192, allocations: 6.812 kB / 1.314 GB, free: 28.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.192, allocations: 2.906 kB / 1.314 GB, free: 28.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/1.192, allocations: 4 kB / 1.314 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.192, allocations: 6.844 kB / 1.314 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.192, allocations: 0 / 1.314 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/1.193, allocations: 131.8 kB / 1.314 GB, free: 27.96 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.775e-05/1.193, allocations: 119.3 kB / 1.314 GB, free: 27.84 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/1.193, allocations: 2.406 kB / 1.314 GB, free: 27.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.981e-05/1.193, allocations: 8.781 kB / 1.314 GB, free: 27.84 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/1.193, allocations: 10.03 kB / 1.314 GB, free: 27.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/1.193, allocations: 2.125 kB / 1.314 GB, free: 27.83 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003424/1.193, allocations: 394.9 kB / 1.314 GB, free: 27.66 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.193, allocations: 0 / 1.314 GB, free: 27.66 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002301/1.193, allocations: 44.42 kB / 1.314 GB, free: 27.64 MB / 1.061 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.0001094/1.193, allocations: 100.8 kB / 1.314 GB, free: 27.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001898/1.194, allocations: 101.5 kB / 1.315 GB, free: 27.52 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.194, allocations: 4 kB / 1.315 GB, free: 27.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.232e-05/1.194, allocations: 16 kB / 1.315 GB, free: 27.51 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/1.194, allocations: 42.8 kB / 1.315 GB, free: 27.48 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006132/1.194, allocations: 0.5196 MB / 1.315 GB, free: 27.15 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/1.195, allocations: 0.7911 MB / 1.316 GB, free: 26.44 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.087e-05/1.195, allocations: 56.25 kB / 1.316 GB, free: 26.44 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.977e-05/1.195, allocations: 23.19 kB / 1.316 GB, free: 26.43 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/1.195, allocations: 0 / 1.316 GB, free: 26.43 MB / 1.061 GB Notification: Performance of Templates: time 0.005208/1.2, allocations: 2.022 MB / 1.318 GB, free: 26.25 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.822532749734819]