Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001379/0.001379, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002106/0.003485, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001344/0.001344, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001558/0.002902, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.079/1.079, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1409/1.22, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.52/2.52, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.276/2.796, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8189 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.021e-05, allocations: 4.562 kB / 0.8189 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.00191/0.00194, allocations: 1.071 MB / 0.82 GB, free: 1.441 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002433/0.002183, allocations: 171.2 kB / 0.8201 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.893e-05/0.002272, allocations: 7.938 kB / 0.8201 GB, free: 1.266 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 9.366e-05/0.002366, allocations: 31.72 kB / 0.8202 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.002467, allocations: 19.8 kB / 0.8202 GB, free: 1.215 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001098/0.002577, allocations: 71.92 kB / 0.8202 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.00286, allocations: 343.2 kB / 0.8206 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003063/0.003166, allocations: 297.5 kB / 0.8209 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000327/0.003493, allocations: 323.4 kB / 0.8212 GB, free: 192 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.003664, allocations: 171.6 kB / 0.8213 GB, free: 20 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 7.771e-05/0.003741, allocations: 48.05 kB / 0.8214 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.596e-05/0.003787, allocations: 48 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.629e-05/0.003874, allocations: 95.69 kB / 0.8215 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.004006, allocations: 103.7 kB / 0.8216 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.004308, allocations: 358.5 kB / 0.822 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.286e-05/0.004321, allocations: 0 / 0.822 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.32e-07/0.004322, allocations: 0 / 0.822 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.004336, allocations: 0 / 0.822 GB, free: 15.38 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.0007643/0.005101, allocations: 0.6827 MB / 0.8226 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.005137, allocations: 12.03 kB / 0.8226 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.26e-05/0.00523, allocations: 72.89 kB / 0.8227 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.00552, allocations: 265.8 kB / 0.823 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.98e-05/0.005569, allocations: 45.38 kB / 0.823 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.005614, allocations: 48.38 kB / 0.823 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.005998, allocations: 378.1 kB / 0.8234 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.006011, allocations: 192 / 0.8234 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.006037, allocations: 20.38 kB / 0.8234 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.006048, allocations: 12.38 kB / 0.8234 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.006225, allocations: 156.5 kB / 0.8236 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.007316, allocations: 0.8519 MB / 0.8244 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.007551, allocations: 101.2 kB / 0.8245 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.007591, allocations: 41.7 kB / 0.8246 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.007615, allocations: 4 kB / 0.8246 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.007637, allocations: 30.56 kB / 0.8246 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 9.72e-07/0.007638, allocations: 0 / 0.8246 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0002121/0.007851, allocations: 129.7 kB / 0.8247 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.007891, allocations: 85.11 kB / 0.8248 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.008075, allocations: 300.5 kB / 0.8251 GB, free: 12 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.008093, allocations: 25.7 kB / 0.8251 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.008214, allocations: 232.8 kB / 0.8253 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/0.008265, allocations: 63.52 kB / 0.8254 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.008375, allocations: 97.53 kB / 0.8255 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.008475, allocations: 338.8 kB / 0.8258 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.199e-05/0.008527, allocations: 23.98 kB / 0.8258 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/0.008601, allocations: 62.33 kB / 0.8259 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.008729, allocations: 96.44 kB / 0.826 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.008732, allocations: 4 kB / 0.826 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001901/0.008922, allocations: 147.6 kB / 0.8261 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.008934, allocations: 4 kB / 0.8261 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.008939, allocations: 0 / 0.8261 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.008952, allocations: 0 / 0.8261 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.009127, allocations: 59.91 kB / 0.8262 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.009135, allocations: 7.938 kB / 0.8262 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.998e-05/0.009195, allocations: 31.77 kB / 0.8262 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.009213, allocations: 8 kB / 0.8262 GB, free: 10.79 MB / 0.8073 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 (idxFirTruAllFal.booToInt[6].y,idxFirTruAllFal.booToInt[5].y,idxFirTruAllFal.booToInt[4].y,idxFirTruAllFal.booToInt[3].y,idxFirTruAllFal.booToInt[2].y,idxFirTruAllFal.booToInt[1].y,idxFirTruAllFal.intEqu.y,idxFirTruAllFal.mulMin.y,idxFirTruAllFal.y,idxFirTru.booToInt[6].y,idxFirTru.booToInt[5].y,idxFirTru.booToInt[4].y,idxFirTru.booToInt[3].y,idxFirTru.booToInt[2].y,idxFirTru.booToInt[1].y,idxFirTru.intEqu.y,idxFirTru.mulMin.y,idxFirTru.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0001352/0.009348, allocations: 142.6 kB / 0.8264 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.009401, allocations: 19.97 kB / 0.8264 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.009597, allocations: 131.3 kB / 0.8265 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.0096, allocations: 4 kB / 0.8265 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.009602, allocations: 0 / 0.8265 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.009609, allocations: 3.938 kB / 0.8265 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007469/0.01036, allocations: 0.7164 MB / 0.8272 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.01036, allocations: 4 kB / 0.8272 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.01047, allocations: 52.53 kB / 0.8273 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.0105, allocations: 39.77 kB / 0.8273 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.01051, allocations: 4 kB / 0.8273 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.01052, allocations: 11.94 kB / 0.8273 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.01053, allocations: 11.92 kB / 0.8273 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.363e-06/0.01054, allocations: 11.94 kB / 0.8273 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005408/0.01108, allocations: 252.4 kB / 0.8276 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.0111, allocations: 12 kB / 0.8276 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.01118, allocations: 12 kB / 0.8276 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.927e-05/0.01125, allocations: 35.83 kB / 0.8276 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.01126, allocations: 12 kB / 0.8277 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.681e-05/0.01134, allocations: 78.72 kB / 0.8277 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01134, allocations: 0 / 0.8277 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000261/0.0116, allocations: 91.56 kB / 0.8278 GB, free: 8.98 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 (idxFirTru.y,idxFirTru.intEqu.y,idxFirTru.mulMin.y,idxFirTruAllFal.y,idxFirTruAllFal.intEqu.y,idxFirTruAllFal.mulMin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 9.629e-05/0.0117, allocations: 96.34 kB / 0.8279 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001939/0.01189, allocations: 123.1 kB / 0.828 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/0.0119, allocations: 4 kB / 0.828 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.01201, allocations: 81.95 kB / 0.8281 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.01232, allocations: 198.4 kB / 0.8283 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008405/0.01316, allocations: 0.7377 MB / 0.829 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.656e-05/0.01325, allocations: 108.3 kB / 0.8291 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.363e-05/0.01332, allocations: 26.28 kB / 0.8291 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.01343, allocations: 87.36 kB / 0.8292 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of SimCode: time 6.01e-07/0.01343, allocations: 0 / 0.8292 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of Templates: time 0.005271/0.0187, allocations: 2.116 MB / 0.8313 GB, free: 5.316 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.699187041260302]