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.00122/0.00122, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001358/0.001358, allocations: 189.8 kB / 22.23 MB, free: 5.098 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.337/1.337, allocations: 225.6 MB / 251 MB, free: 13.2 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.886/2.886, allocations: 0.4893 GB / 0.7884 GB, free: 33.31 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.001916/0.001916, allocations: 70.77 kB / 1.145 GB, free: 30.74 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3342, allocations: 174.9 MB / 1.316 GB, free: 9.77 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002037/0.3362, allocations: 0.8695 MB / 1.317 GB, free: 8.902 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.0002408/0.3364, allocations: 91.69 kB / 1.317 GB, free: 8.812 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.935e-05/0.3365, allocations: 7.938 kB / 1.317 GB, free: 8.805 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.3366, allocations: 15.8 kB / 1.317 GB, free: 8.789 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.3368, allocations: 23.86 kB / 1.317 GB, free: 8.766 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 7.142e-05/0.3368, allocations: 39.91 kB / 1.317 GB, free: 8.727 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002769/0.3371, allocations: 251.5 kB / 1.317 GB, free: 8.48 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002794/0.3374, allocations: 182.7 kB / 1.317 GB, free: 8.297 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.3375, allocations: 131.6 kB / 1.318 GB, free: 8.168 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.3377, allocations: 143.3 kB / 1.318 GB, free: 8.027 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.868e-05/0.3377, allocations: 32 kB / 1.318 GB, free: 7.996 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 4.308e-05/0.3378, allocations: 36 kB / 1.318 GB, free: 7.961 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 8.24e-05/0.3378, allocations: 87.7 kB / 1.318 GB, free: 7.875 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.338, allocations: 159.1 kB / 1.318 GB, free: 7.719 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.3384, allocations: 462.1 kB / 1.318 GB, free: 7.266 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3384, allocations: 0 / 1.318 GB, free: 7.266 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.072e-06/0.3384, allocations: 0 / 1.318 GB, free: 7.266 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.431e-06/0.3384, allocations: 0 / 1.318 GB, free: 7.266 MB / 1.014 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.0006432/0.3391, allocations: 0.5324 MB / 1.319 GB, free: 6.699 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.3391, allocations: 8.031 kB / 1.319 GB, free: 6.691 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.973e-05/0.3392, allocations: 44.64 kB / 1.319 GB, free: 6.648 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.3396, allocations: 267.2 kB / 1.319 GB, free: 6.359 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/0.3396, allocations: 45.02 kB / 1.319 GB, free: 6.316 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.3397, allocations: 28.38 kB / 1.319 GB, free: 6.289 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005895/0.3402, allocations: 404.2 kB / 1.32 GB, free: 5.883 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3403, allocations: 192 / 1.32 GB, free: 5.883 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.3403, allocations: 15.94 kB / 1.32 GB, free: 5.867 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.3403, allocations: 8 kB / 1.32 GB, free: 5.859 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/0.3407, allocations: 303.6 kB / 1.32 GB, free: 5.562 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.3421, allocations: 1.016 MB / 1.321 GB, free: 4.496 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.3422, allocations: 93.14 kB / 1.321 GB, free: 4.387 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 6.456e-05/0.3423, allocations: 45.78 kB / 1.321 GB, free: 4.336 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.3423, allocations: 0 / 1.321 GB, free: 4.336 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.3423, allocations: 38.56 kB / 1.321 GB, free: 4.289 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.3423, allocations: 0 / 1.321 GB, free: 4.289 MB / 1.014 GB
Notification: Performance of matching and sorting (n=6): time 0.000315/0.3426, allocations: 169.3 kB / 1.321 GB, free: 4.117 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.3427, allocations: 92.97 kB / 1.321 GB, free: 4.008 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000536/0.3432, allocations: 0.5014 MB / 1.322 GB, free: 3.5 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.3432, allocations: 25.7 kB / 1.322 GB, free: 3.469 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.3434, allocations: 207.7 kB / 1.322 GB, free: 3.262 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.3434, allocations: 23.88 kB / 1.322 GB, free: 3.238 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.539e-05/0.3435, allocations: 53.66 kB / 1.322 GB, free: 3.18 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.000145/0.3436, allocations: 342.8 kB / 1.323 GB, free: 2.836 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.3437, allocations: 71.95 kB / 1.323 GB, free: 2.766 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.3438, allocations: 81.67 kB / 1.323 GB, free: 2.68 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.344, allocations: 117.5 kB / 1.323 GB, free: 2.559 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.344, allocations: 0 / 1.323 GB, free: 2.559 MB / 1.014 GB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003003/0.3443, allocations: 217.3 kB / 1.323 GB, free: 2.34 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3443, allocations: 8 kB / 1.323 GB, free: 2.332 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3443, allocations: 3.938 kB / 1.323 GB, free: 2.328 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3443, allocations: 0 / 1.323 GB, free: 2.328 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.3445, allocations: 35.86 kB / 1.323 GB, free: 2.293 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3445, allocations: 3.984 kB / 1.323 GB, free: 2.289 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.616e-05/0.3446, allocations: 35.73 kB / 1.323 GB, free: 2.254 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.3446, allocations: 4 kB / 1.323 GB, free: 2.25 MB / 1.014 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.0001873/0.3448, allocations: 203.5 kB / 1.323 GB, free: 2.043 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.3448, allocations: 27.81 kB / 1.323 GB, free: 2.016 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.345, allocations: 122 kB / 1.323 GB, free: 1.887 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.345, allocations: 3.938 kB / 1.323 GB, free: 1.883 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.345, allocations: 0 / 1.323 GB, free: 1.883 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.345, allocations: 0 / 1.323 GB, free: 1.883 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000563/0.3456, allocations: 0.636 MB / 1.324 GB, free: 1.184 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.3456, allocations: 4 kB / 1.324 GB, free: 1.18 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.095e-05/0.3456, allocations: 7.984 kB / 1.324 GB, free: 1.172 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3456, allocations: 0 / 1.324 GB, free: 1.172 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.3456, allocations: 0 / 1.324 GB, free: 1.172 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/0.3456, allocations: 7.938 kB / 1.324 GB, free: 1.164 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3456, allocations: 0 / 1.324 GB, free: 1.164 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.3458, allocations: 131.9 kB / 1.324 GB, free: 1.008 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.684e-05/0.3458, allocations: 43.8 kB / 1.324 GB, free: 0.9648 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.3459, allocations: 4 kB / 1.324 GB, free: 0.9609 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-05/0.3459, allocations: 4 kB / 1.324 GB, free: 0.957 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.3459, allocations: 12.22 kB / 1.324 GB, free: 0.9453 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.3459, allocations: 3.938 kB / 1.324 GB, free: 0.9414 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0004142/0.3464, allocations: 399 kB / 1.325 GB, free: 0.5508 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.3464, allocations: 0 / 1.325 GB, free: 0.5508 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002231/0.3466, allocations: 43.89 kB / 1.325 GB, free: 0.5078 MB / 1.014 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.0001092/0.3467, allocations: 95.78 kB / 1.325 GB, free: 412 kB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001976/0.3469, allocations: 103.9 kB / 1.325 GB, free: 308 kB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3469, allocations: 4 kB / 1.325 GB, free: 304 kB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 2.726e-05/0.3469, allocations: 15.94 kB / 1.325 GB, free: 288 kB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.3471, allocations: 33.59 kB / 1.325 GB, free: 256 kB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007022/0.3478, allocations: 0.5095 MB / 1.325 GB, free: 15.7 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.3482, allocations: 0.7833 MB / 1.326 GB, free: 14.89 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 9.874e-05/0.3483, allocations: 62.88 kB / 1.326 GB, free: 14.83 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.231e-05/0.3484, allocations: 19.44 kB / 1.326 GB, free: 14.81 MB / 1.029 GB
Notification: Performance of SimCode: time 3.01e-07/0.3484, allocations: 4 kB / 1.326 GB, free: 14.81 MB / 1.029 GB
Notification: Performance of Templates: time 0.005096/0.3535, allocations: 2.066 MB / 1.328 GB, free: 12.75 MB / 1.029 GB
"
[Timeout remaining time 300]
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=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 800]
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: 7.938447202555835]