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.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.001654/0.001654, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001725/0.001725, allocations: 190.9 kB / 22.11 MB, free: 4.34 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.539/1.539, allocations: 225.6 MB / 250.8 MB, free: 2.91 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.982/2.982, allocations: 495.8 MB / 0.783 GB, free: 12.29 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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_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: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 63.83 kB / 1.137 GB, free: 12.23 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.131/1.133, allocations: 173.6 MB / 1.307 GB, free: 33.79 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002047/1.135, allocations: 0.8741 MB / 1.308 GB, free: 33.22 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.0002687/1.135, allocations: 99.86 kB / 1.308 GB, free: 33.14 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.942e-05/1.135, allocations: 2.875 kB / 1.308 GB, free: 33.14 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.000135/1.135, allocations: 22.17 kB / 1.308 GB, free: 33.13 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001398/1.136, allocations: 22.05 kB / 1.308 GB, free: 33.11 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 6.942e-05/1.136, allocations: 42.28 kB / 1.308 GB, free: 33.09 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.0002352/1.136, allocations: 247.6 kB / 1.308 GB, free: 32.98 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002772/1.136, allocations: 169.4 kB / 1.308 GB, free: 32.9 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.819e-05/1.136, allocations: 144.8 kB / 1.308 GB, free: 32.82 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/1.136, allocations: 138.8 kB / 1.308 GB, free: 32.74 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 4.806e-05/1.136, allocations: 32.72 kB / 1.308 GB, free: 32.74 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 4.117e-05/1.136, allocations: 33.72 kB / 1.309 GB, free: 32.74 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 7.17e-05/1.136, allocations: 87.09 kB / 1.309 GB, free: 32.69 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001047/1.137, allocations: 153.2 kB / 1.309 GB, free: 32.57 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003324/1.137, allocations: 464.9 kB / 1.309 GB, free: 32.4 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/1.137, allocations: 4 kB / 1.309 GB, free: 32.4 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.733e-06/1.137, allocations: 0 / 1.309 GB, free: 32.4 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 1.488e-05/1.137, allocations: 0 / 1.309 GB, free: 32.4 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.0005918/1.138, allocations: 0.5338 MB / 1.31 GB, free: 31.96 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/1.138, allocations: 12.5 kB / 1.31 GB, free: 31.96 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/1.138, allocations: 40.89 kB / 1.31 GB, free: 31.94 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/1.138, allocations: 271.9 kB / 1.31 GB, free: 31.73 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/1.138, allocations: 34 kB / 1.31 GB, free: 31.72 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.169e-05/1.138, allocations: 41 kB / 1.31 GB, free: 31.7 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/1.139, allocations: 398.3 kB / 1.31 GB, free: 31.54 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/1.139, allocations: 4.172 kB / 1.31 GB, free: 31.54 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/1.139, allocations: 18.66 kB / 1.31 GB, free: 31.52 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/1.139, allocations: 8.969 kB / 1.31 GB, free: 31.52 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/1.139, allocations: 303.7 kB / 1.311 GB, free: 31.43 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/1.14, allocations: 1.012 MB / 1.312 GB, free: 30.8 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000135/1.14, allocations: 88.17 kB / 1.312 GB, free: 30.74 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.016e-05/1.14, allocations: 42.34 kB / 1.312 GB, free: 30.71 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/1.14, allocations: 3.141 kB / 1.312 GB, free: 30.71 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/1.14, allocations: 42.44 kB / 1.312 GB, free: 30.66 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=6): time 1.163e-06/1.14, allocations: 0 / 1.312 GB, free: 30.66 MB / 1.061 GB
Notification: Performance of matching and sorting (n=6): time 0.0003032/1.141, allocations: 172.2 kB / 1.312 GB, free: 30.57 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/1.141, allocations: 84.05 kB / 1.312 GB, free: 30.47 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004281/1.141, allocations: 0.5085 MB / 1.313 GB, free: 30.24 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 1.172e-05/1.141, allocations: 25.7 kB / 1.313 GB, free: 30.21 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001039/1.141, allocations: 204.9 kB / 1.313 GB, free: 30.04 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/1.141, allocations: 14.39 kB / 1.313 GB, free: 30.03 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.245e-05/1.141, allocations: 57.92 kB / 1.313 GB, free: 29.99 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 5.722e-05/1.141, allocations: 341.9 kB / 1.313 GB, free: 29.66 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.17e-05/1.141, allocations: 69.97 kB / 1.313 GB, free: 29.64 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.365e-05/1.142, allocations: 84.88 kB / 1.313 GB, free: 29.6 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/1.142, allocations: 116.6 kB / 1.314 GB, free: 29.54 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.142, allocations: 0 / 1.314 GB, free: 29.54 MB / 1.061 GB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002669/1.142, allocations: 209.4 kB / 1.314 GB, free: 29.44 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/1.142, allocations: 9.719 kB / 1.314 GB, free: 29.44 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/1.142, allocations: 3.938 kB / 1.314 GB, free: 29.43 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.142, allocations: 2.688 kB / 1.314 GB, free: 29.43 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/1.142, allocations: 30.3 kB / 1.314 GB, free: 29.43 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/1.142, allocations: 0 / 1.314 GB, free: 29.43 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.943e-05/1.142, allocations: 43.22 kB / 1.314 GB, free: 29.4 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/1.142, allocations: 5.719 kB / 1.314 GB, free: 29.4 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.0001545/1.142, allocations: 213.8 kB / 1.314 GB, free: 29.24 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/1.142, allocations: 30.19 kB / 1.314 GB, free: 29.23 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/1.143, allocations: 120 kB / 1.314 GB, free: 29.15 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/1.143, allocations: 3.938 kB / 1.314 GB, free: 29.14 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.143, allocations: 2.781 kB / 1.314 GB, free: 29.14 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/1.143, allocations: 0 / 1.314 GB, free: 29.14 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/1.143, allocations: 0.6342 MB / 1.315 GB, free: 28.61 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.143, allocations: 2.562 kB / 1.315 GB, free: 28.61 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.088e-05/1.143, allocations: 6.469 kB / 1.315 GB, free: 28.61 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/1.143, allocations: 2.531 kB / 1.315 GB, free: 28.61 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/1.143, allocations: 0 / 1.315 GB, free: 28.61 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/1.143, allocations: 6.531 kB / 1.315 GB, free: 28.6 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.143, allocations: 0 / 1.315 GB, free: 28.6 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/1.143, allocations: 132 kB / 1.315 GB, free: 28.48 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/1.143, allocations: 46.27 kB / 1.315 GB, free: 28.46 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/1.143, allocations: 6.938 kB / 1.315 GB, free: 28.45 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.316e-05/1.143, allocations: 2.594 kB / 1.315 GB, free: 28.45 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/1.143, allocations: 10.97 kB / 1.315 GB, free: 28.45 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/1.143, allocations: 0 / 1.315 GB, free: 28.45 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 0.0003221/1.144, allocations: 393.9 kB / 1.315 GB, free: 28.28 MB / 1.061 GB
Notification: Performance of sort global known variables: time 7e-08/1.144, allocations: 0 / 1.315 GB, free: 28.28 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002369/1.144, allocations: 43.36 kB / 1.315 GB, free: 28.27 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 9.318e-05/1.144, allocations: 96.28 kB / 1.316 GB, free: 28.18 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0001977/1.144, allocations: 103.1 kB / 1.316 GB, free: 28.14 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.144, allocations: 4 kB / 1.316 GB, free: 28.14 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 2.283e-05/1.144, allocations: 16.03 kB / 1.316 GB, free: 28.13 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/1.144, allocations: 37.22 kB / 1.316 GB, free: 28.11 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007603/1.145, allocations: 0.5099 MB / 1.316 GB, free: 27.78 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/1.145, allocations: 0.7903 MB / 1.317 GB, free: 27.07 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 0.0001097/1.146, allocations: 57.81 kB / 1.317 GB, free: 27.07 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/1.146, allocations: 21.97 kB / 1.317 GB, free: 27.07 MB / 1.061 GB
Notification: Performance of SimCode: time 4.4e-07/1.146, allocations: 0 / 1.317 GB, free: 27.07 MB / 1.061 GB
Notification: Performance of Templates: time 0.005695/1.151, allocations: 2.064 MB / 1.319 GB, free: 26.88 MB / 1.061 GB
"
[Timeout remaining time 299]
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/jenkins/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: 9.753520691767335]