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.001741/0.001741, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002156/0.002156, allocations: 212.1 kB / 23 MB, free: 4.969 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.797 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.18/3.18, allocations: 0.49 GB / 0.7959 GB, free: 35.61 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.002026/0.002026, allocations: 72.58 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3014, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002073/0.3034, allocations: 0.8432 MB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002588/0.3037, allocations: 91.64 kB / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.436e-05/0.3038, allocations: 4 kB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.3039, allocations: 23.73 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.304, allocations: 15.86 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8.273e-05/0.3041, allocations: 39.97 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.3044, allocations: 255.5 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002995/0.3047, allocations: 174.8 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.3048, allocations: 143.4 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.305, allocations: 143.3 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.824e-05/0.3051, allocations: 32 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.761e-05/0.3051, allocations: 32 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.832e-05/0.3052, allocations: 83.77 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.3053, allocations: 127.3 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004486/0.3058, allocations: 466 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.3058, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3058, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3058, allocations: 0 / 1.329 GB, free: 14.5 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.0006764/0.3065, allocations: 0.5246 MB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3065, allocations: 16.03 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.973e-05/0.3066, allocations: 40.66 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.307, allocations: 275.2 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.188e-05/0.3071, allocations: 33.03 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/0.3071, allocations: 32.38 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006312/0.3078, allocations: 396.2 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3078, allocations: 192 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.3078, allocations: 27.86 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.3078, allocations: 8 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004913/0.3083, allocations: 311.3 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.3096, allocations: 0.8378 MB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.3098, allocations: 81.22 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.949e-05/0.3098, allocations: 45.78 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.3099, allocations: 7.938 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.3099, allocations: 38.5 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3099, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003215/0.3102, allocations: 153.4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.3102, allocations: 81.09 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003651/0.3106, allocations: 349.5 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.3106, allocations: 25.7 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.3108, allocations: 216.4 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.3108, allocations: 7.953 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.3109, allocations: 77.62 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3111, allocations: 334.8 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.3112, allocations: 63.95 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.3113, allocations: 89.58 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.3115, allocations: 117.6 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3115, allocations: 0 / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003048/0.3118, allocations: 201.3 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3118, allocations: 10.03 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3118, allocations: 0 / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3118, allocations: 0 / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.312, allocations: 28 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.312, allocations: 3.984 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.319e-05/0.312, allocations: 31.66 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.3121, allocations: 8 kB / 1.334 GB, free: 9.867 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.0002088/0.3123, allocations: 208.4 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/0.3123, allocations: 19.89 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.3125, allocations: 104.6 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3125, allocations: 4 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.3125, allocations: 0 / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.3126, allocations: 19.84 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.3126, allocations: 3.984 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.951e-05/0.3126, allocations: 8 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.3127, allocations: 4 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001439/0.3128, allocations: 212.2 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002092/0.313, allocations: 317.9 kB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.44e-05/0.313, allocations: 15.98 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002503/0.3133, allocations: 233.2 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of Backend: time 3.1e-07/0.3133, allocations: 3.938 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005312/0.3138, allocations: 160.1 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of SimCode: time 0.001098/0.3149, allocations: 0.9282 MB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of Templates: time 0.005513/0.3204, allocations: 1.933 MB / 1.338 GB, free: 5.641 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 -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: 8.558994286002417]