Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.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.001768/0.001768, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002362/0.002362, allocations: 210 kB / 23 MB, free: 4.934 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.124/3.124, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 177] 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.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") [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.00204/0.00204, allocations: 72.02 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3086, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002134/0.3107, allocations: 0.8381 MB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002758/0.311, allocations: 87.64 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.663e-05/0.3111, allocations: 8 kB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.3112, allocations: 27.78 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.3113, allocations: 15.84 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.727e-05/0.3114, allocations: 40.05 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.3117, allocations: 251.4 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003258/0.312, allocations: 186.7 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.3122, allocations: 131.5 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.3123, allocations: 143.3 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.517e-05/0.3124, allocations: 32 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.521e-05/0.3125, allocations: 32 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.893e-05/0.3125, allocations: 87.77 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.3127, allocations: 127.3 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000464/0.3131, allocations: 462 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.3131, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3131, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3132, allocations: 0 / 1.329 GB, free: 14.57 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.0007002/0.3139, allocations: 0.5285 MB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3139, allocations: 12.03 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.463e-05/0.314, allocations: 40.66 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/0.3144, allocations: 271.2 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/0.3145, allocations: 37.02 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/0.3145, allocations: 40.36 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006398/0.3152, allocations: 396.2 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3152, allocations: 192 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.3152, allocations: 23.88 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.3152, allocations: 8 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004914/0.3157, allocations: 303.4 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.317, allocations: 0.8417 MB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.3172, allocations: 89.16 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.638e-05/0.3173, allocations: 45.8 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.3173, allocations: 3.984 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.3173, allocations: 34.56 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.3173, allocations: 3.938 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003237/0.3176, allocations: 153.9 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.3177, allocations: 81.05 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/0.3181, allocations: 345.5 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.3181, allocations: 29.64 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.3182, allocations: 212.4 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.3183, allocations: 11.94 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.3184, allocations: 77.64 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3185, allocations: 334.8 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.3186, allocations: 67.95 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.3188, allocations: 91.12 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.3189, allocations: 117.6 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3189, allocations: 0 / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003116/0.3193, allocations: 197.4 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3193, allocations: 8 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3193, allocations: 0 / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3193, allocations: 0 / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.3194, allocations: 31.92 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.3195, allocations: 8 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.406e-05/0.3195, allocations: 31.72 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.3195, allocations: 4 kB / 1.334 GB, free: 9.93 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 (idxFirTru.booToInt[1].y,idxFirTru.booToInt[2].y,idxFirTru.booToInt[3].y,idxFirTru.booToInt[4].y,idxFirTru.booToInt[5].y,idxFirTru.booToInt[6].y,idxFirTru.intEqu.y,idxFirTru.mulMin.y,idxFirTru.y,idxFirTruAllFal.booToInt[1].y,idxFirTruAllFal.booToInt[2].y,idxFirTruAllFal.booToInt[3].y,idxFirTruAllFal.booToInt[4].y,idxFirTruAllFal.booToInt[5].y,idxFirTruAllFal.booToInt[6].y,idxFirTruAllFal.intEqu.y,idxFirTruAllFal.mulMin.y,idxFirTruAllFal.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.0002045/0.3197, allocations: 200.3 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.3198, allocations: 15.91 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.32, allocations: 104.6 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.32, allocations: 7.922 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.32, allocations: 4.062 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.3201, allocations: 23.84 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.3201, allocations: 0 / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.3201, allocations: 7.938 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.3201, allocations: 7.984 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001499/0.3203, allocations: 204.3 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002241/0.3205, allocations: 321.8 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.015e-05/0.3205, allocations: 12 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002573/0.3208, allocations: 241.2 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of Backend: time 2.8e-07/0.3208, allocations: 4 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005302/0.3213, allocations: 164.5 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009761/0.3223, allocations: 0.9204 MB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of Templates: time 0.005465/0.3278, allocations: 1.95 MB / 1.338 GB, free: 5.691 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.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.435198325001693]