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.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.00184/0.00184, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.002459/0.002459, allocations: 166.2 kB / 22.46 MB, free: 5.375 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.511/1.511, allocations: 177.2 MB / 202.8 MB, free: 9.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.955/2.955, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 2.585e-06/2.585e-06, allocations: 0 / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.4e-05, allocations: 6.219 kB / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002119/0.002153, allocations: 0.8378 MB / 1.001 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002896/0.002443, allocations: 95.64 kB / 1.001 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.266e-05/0.002536, allocations: 7.938 kB / 1.001 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.002656, allocations: 19.8 kB / 1.001 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.002798, allocations: 23.84 kB / 1.001 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 8.068e-05/0.002879, allocations: 31.97 kB / 1.001 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003504/0.00323, allocations: 259.4 kB / 1.001 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003246/0.003554, allocations: 166.9 kB / 1.002 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.00379, allocations: 195.5 kB / 1.002 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.003976, allocations: 123.7 kB / 1.002 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.457e-05/0.004041, allocations: 36 kB / 1.002 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.112e-05/0.004092, allocations: 36 kB / 1.002 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.808e-05/0.00419, allocations: 83.69 kB / 1.002 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.004312, allocations: 103.7 kB / 1.002 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005043/0.004816, allocations: 462.4 kB / 1.003 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004818, allocations: 0 / 1.003 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.455e-06/0.004821, allocations: 7.984 kB / 1.003 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.004827, allocations: 0 / 1.003 GB, free: 4.82 MB / 0.9512 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.000743/0.00557, allocations: 0.5169 MB / 1.003 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.005608, allocations: 8.031 kB / 1.003 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.356e-05/0.005682, allocations: 40.7 kB / 1.003 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.006134, allocations: 277.7 kB / 1.003 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.318e-05/0.006197, allocations: 41.02 kB / 1.003 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.992e-05/0.006247, allocations: 28.38 kB / 1.003 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006529/0.0069, allocations: 408 kB / 1.004 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.006914, allocations: 4.125 kB / 1.004 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.006948, allocations: 16.38 kB / 1.004 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.006958, allocations: 8.375 kB / 1.004 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005138/0.007471, allocations: 299.7 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.008835, allocations: 0.8335 MB / 1.005 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.009004, allocations: 97.09 kB / 1.005 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.111e-05/0.009085, allocations: 45.78 kB / 1.005 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.009114, allocations: 4 kB / 1.005 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.009141, allocations: 34.56 kB / 1.005 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.009143, allocations: 0 / 1.005 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.000352/0.009495, allocations: 149.8 kB / 1.005 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.009551, allocations: 81.11 kB / 1.005 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003983/0.00995, allocations: 345.5 kB / 1.006 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.009974, allocations: 25.7 kB / 1.006 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.01013, allocations: 220.4 kB / 1.006 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.01016, allocations: 11.91 kB / 1.006 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.01026, allocations: 81.62 kB / 1.006 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.01043, allocations: 334.8 kB / 1.006 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.01055, allocations: 67.89 kB / 1.006 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.01068, allocations: 87.39 kB / 1.006 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.01086, allocations: 113.6 kB / 1.007 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01086, allocations: 0 / 1.007 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003147/0.01118, allocations: 201.4 kB / 1.007 GB, free: 300 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.0112, allocations: 7.984 kB / 1.007 GB, free: 292 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.0112, allocations: 0 / 1.007 GB, free: 292 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.01122, allocations: 8 kB / 1.007 GB, free: 284 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.01138, allocations: 27.94 kB / 1.007 GB, free: 256 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.01139, allocations: 11.97 kB / 1.007 GB, free: 244 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.684e-05/0.01145, allocations: 15.84 kB / 1.007 GB, free: 228 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.01147, allocations: 8 kB / 1.007 GB, free: 220 kB / 0.9512 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.0002219/0.01169, allocations: 200.2 kB / 1.007 GB, free: 12 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.591e-05/0.01176, allocations: 15.95 kB / 1.007 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.01198, allocations: 112.6 kB / 1.007 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.01198, allocations: 4 kB / 1.007 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.01199, allocations: 4 kB / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01199, allocations: 0 / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005443/0.01254, allocations: 0.5624 MB / 1.008 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01254, allocations: 0 / 1.008 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/0.01256, allocations: 4 kB / 1.008 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01256, allocations: 0 / 1.008 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.01257, allocations: 4.188 kB / 1.008 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.01258, allocations: 7.938 kB / 1.008 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.01258, allocations: 0 / 1.008 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.01273, allocations: 119.5 kB / 1.008 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.01276, allocations: 19.86 kB / 1.008 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.01278, allocations: 3.984 kB / 1.008 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.321e-05/0.01282, allocations: 7.938 kB / 1.008 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.01286, allocations: 8 kB / 1.008 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.01286, allocations: 0 / 1.008 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000263/0.01312, allocations: 237.2 kB / 1.008 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.01312, allocations: 0 / 1.008 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002581/0.01338, allocations: 59.73 kB / 1.008 GB, free: 14.76 MB / 0.9669 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.0001285/0.01351, allocations: 99.19 kB / 1.008 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002316/0.01374, allocations: 108.2 kB / 1.008 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01374, allocations: 3.938 kB / 1.008 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.082e-05/0.01378, allocations: 15.94 kB / 1.008 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.01401, allocations: 20.48 kB / 1.008 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007652/0.01478, allocations: 493.9 kB / 1.009 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.01498, allocations: 183.2 kB / 1.009 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.133e-05/0.01507, allocations: 41.61 kB / 1.009 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.01512, allocations: 16.5 kB / 1.009 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of SimCode: time 3.6e-07/0.01512, allocations: 0 / 1.009 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of Templates: time 0.004881/0.02, allocations: 1.195 MB / 1.01 GB, free: 12.55 MB / 0.9669 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: 8.321663215756416]