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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00808/0.00808, allocations: 99.84 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 200.7 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.631/2.631, allocations: 461.9 MB / 0.7347 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 60.09 kB / 1.054 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8928/0.894, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001975/0.8961, allocations: 0.8602 MB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002633/0.8963, allocations: 91.7 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.374e-05/0.8964, allocations: 3.938 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.8966, allocations: 23.8 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.8967, allocations: 19.86 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.717e-05/0.8968, allocations: 39.97 kB / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.8971, allocations: 255.5 kB / 1.209 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003971/0.8975, allocations: 294.3 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.8976, allocations: 127.5 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.8978, allocations: 147.2 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.492e-05/0.8978, allocations: 32 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.86e-05/0.8979, allocations: 32 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.25e-05/0.898, allocations: 83.78 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.8981, allocations: 155.1 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004014/0.8985, allocations: 466.3 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.8985, allocations: 0 / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8985, allocations: 4 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.8985, allocations: 0 / 1.21 GB, free: 11.03 MB / 0.9356 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.0007064/0.8993, allocations: 0.5981 MB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.8993, allocations: 8.031 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.955e-05/0.8994, allocations: 40.47 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.8998, allocations: 324.2 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.366e-05/0.8999, allocations: 45.02 kB / 1.211 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.8999, allocations: 32.38 kB / 1.211 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006133/0.9006, allocations: 400.2 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.9006, allocations: 192 / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.9006, allocations: 19.92 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.9006, allocations: 8 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004498/0.9011, allocations: 303.5 kB / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.9025, allocations: 1.049 MB / 1.213 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.9026, allocations: 93.16 kB / 1.213 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.507e-05/0.9027, allocations: 49.78 kB / 1.213 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.9027, allocations: 0 / 1.213 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.9028, allocations: 34.56 kB / 1.213 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.9028, allocations: 4 kB / 1.213 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0003412/0.9031, allocations: 169.1 kB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.9032, allocations: 81.05 kB / 1.213 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005343/0.9037, allocations: 0.5052 MB / 1.214 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.9037, allocations: 25.7 kB / 1.214 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.9039, allocations: 203.5 kB / 1.214 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.9039, allocations: 23.75 kB / 1.214 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.448e-05/0.904, allocations: 53.69 kB / 1.214 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.9042, allocations: 346.8 kB / 1.215 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.9043, allocations: 67.95 kB / 1.215 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.9044, allocations: 91.55 kB / 1.215 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.9046, allocations: 109.7 kB / 1.215 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.9046, allocations: 0 / 1.215 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002974/0.9049, allocations: 221.1 kB / 1.215 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.9049, allocations: 8 kB / 1.215 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.9049, allocations: 0 / 1.215 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.9049, allocations: 0 / 1.215 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.9051, allocations: 27.94 kB / 1.215 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.9051, allocations: 7.922 kB / 1.215 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.743e-05/0.9052, allocations: 35.59 kB / 1.215 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.9052, allocations: 4 kB / 1.215 GB, free: 5.836 MB / 0.9356 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.0002096/0.9054, allocations: 207.8 kB / 1.215 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.753e-05/0.9055, allocations: 31.61 kB / 1.215 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.9057, allocations: 118 kB / 1.215 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.9057, allocations: 3.938 kB / 1.215 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.9058, allocations: 0 / 1.215 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.9058, allocations: 0 / 1.215 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005808/0.9063, allocations: 0.6642 MB / 1.216 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9064, allocations: 0 / 1.216 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.9064, allocations: 7.984 kB / 1.216 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.9064, allocations: 0 / 1.216 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.9064, allocations: 4 kB / 1.216 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.9064, allocations: 0 / 1.216 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9064, allocations: 0 / 1.216 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.9066, allocations: 139.2 kB / 1.216 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.821e-05/0.9067, allocations: 116.7 kB / 1.216 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.9067, allocations: 4 kB / 1.216 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.379e-05/0.9068, allocations: 8 kB / 1.216 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.9068, allocations: 8 kB / 1.216 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.9068, allocations: 0 / 1.216 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00041/0.9072, allocations: 391 kB / 1.217 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9072, allocations: 0 / 1.217 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002598/0.9075, allocations: 43.84 kB / 1.217 GB, free: 3.973 MB / 0.9356 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.0001317/0.9076, allocations: 103.2 kB / 1.217 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.9079, allocations: 107.8 kB / 1.217 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9079, allocations: 4 kB / 1.217 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.967e-05/0.9079, allocations: 16.45 kB / 1.217 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.9082, allocations: 41.36 kB / 1.217 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007346/0.9089, allocations: 0.5023 MB / 1.217 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.9093, allocations: 0.7872 MB / 1.218 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.9094, allocations: 58.94 kB / 1.218 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.9095, allocations: 19.44 kB / 1.218 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.9095, allocations: 0 / 1.218 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of Templates: time 0.004938/0.9145, allocations: 1.993 MB / 1.22 GB, free: 292 kB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) 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) Reference file matches