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.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.001295/0.001295, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001467/0.001467, allocations: 212.3 kB / 22.99 MB, free: 4.984 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.308/3.308, allocations: 0.49 GB / 0.7959 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 69.55 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.393, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002244/0.3953, allocations: 0.8431 MB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002962/0.3955, allocations: 99.62 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.501e-05/0.3956, allocations: 4 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.3958, allocations: 31.72 kB / 1.328 GB, free: 40 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.3959, allocations: 7.875 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.946e-05/0.396, allocations: 43.95 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.3963, allocations: 247.5 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003393/0.3966, allocations: 182.8 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.3968, allocations: 135.4 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.397, allocations: 139.3 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.741e-05/0.397, allocations: 32 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.083e-05/0.3971, allocations: 32 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.289e-05/0.3972, allocations: 91.75 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.3973, allocations: 127.3 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004624/0.3978, allocations: 462.1 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3978, allocations: 3.938 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3978, allocations: 0 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.3978, allocations: 0 / 1.329 GB, free: 14.56 MB / 1.029 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.0007688/0.3986, allocations: 0.5285 MB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.3986, allocations: 8.031 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.893e-05/0.3987, allocations: 48.59 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/0.3991, allocations: 271.2 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.501e-05/0.3992, allocations: 37.03 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.112e-05/0.3993, allocations: 32.38 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006643/0.3999, allocations: 396.2 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.3999, allocations: 192 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.4, allocations: 19.92 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.4, allocations: 8 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000494/0.4005, allocations: 311.3 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.4019, allocations: 0.8339 MB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.4021, allocations: 89.22 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.554e-05/0.4021, allocations: 45.73 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.4022, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.453e-05/0.4022, allocations: 38.55 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.4022, allocations: 3.938 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003697/0.4026, allocations: 157.4 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.4026, allocations: 81.11 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003948/0.403, allocations: 345.5 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.4031, allocations: 25.7 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.4032, allocations: 216.3 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.4033, allocations: 15.94 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.4034, allocations: 77.64 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.4035, allocations: 330.8 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.4037, allocations: 67.95 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.4038, allocations: 93.56 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.404, allocations: 113.6 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.404, allocations: 0 / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003117/0.4043, allocations: 201.4 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.4043, allocations: 5.719 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.4043, allocations: 0 / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.4043, allocations: 4 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.4045, allocations: 31.98 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.4045, allocations: 7.938 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.196e-05/0.4046, allocations: 23.78 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.4046, allocations: 8 kB / 1.334 GB, free: 9.926 MB / 1.029 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.0002183/0.4048, allocations: 200 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.4049, allocations: 19.91 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.4051, allocations: 100.6 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4051, allocations: 4.062 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.4051, allocations: 7.938 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4051, allocations: 3.984 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005627/0.4057, allocations: 0.5508 MB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.4057, allocations: 4 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.228e-05/0.4057, allocations: 4 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4057, allocations: 3.938 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.4057, allocations: 4 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4057, allocations: 4.125 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4057, allocations: 4 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.4059, allocations: 115.5 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.4059, allocations: 27.78 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.4059, allocations: 4 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.178e-05/0.406, allocations: 4 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.406, allocations: 4 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.406, allocations: 4 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002543/0.4063, allocations: 237.2 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4063, allocations: 0 / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002624/0.4065, allocations: 55.73 kB / 1.335 GB, free: 8.48 MB / 1.029 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.0001174/0.4067, allocations: 107.2 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002271/0.4069, allocations: 103.8 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4069, allocations: 480 / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.897e-05/0.4069, allocations: 15.98 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.4072, allocations: 24.38 kB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007992/0.408, allocations: 486.2 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.4082, allocations: 191.3 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.762e-05/0.4083, allocations: 41.59 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.4083, allocations: 19.44 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.4083, allocations: 0 / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of Templates: time 0.004737/0.4131, allocations: 1.348 MB / 1.337 GB, free: 6.121 MB / 1.029 GB " [Timeout remaining time 300] 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 -s cvode -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/jenkins1/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.163994401998934]