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.0007693/0.0007693, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.001912, allocations: 449.8 kB / 10.44 MB, free: 252 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.000712/0.000712, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009719/0.001684, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.929/0.929, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.085/1.014, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.841/1.841, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4484/2.29, allocations: 123.3 MB / 0.7283 GB, free: 5.734 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 2.614e-06/2.614e-06, allocations: 0 / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.867e-05, allocations: 5.109 kB / 0.7296 GB, free: 4.438 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002492/0.00252, allocations: 0.9272 MB / 0.7305 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002136/0.002734, allocations: 91.58 kB / 0.7306 GB, free: 3.449 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.691e-05/0.002821, allocations: 10.53 kB / 0.7306 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.002923, allocations: 24.56 kB / 0.7307 GB, free: 3.418 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.003047, allocations: 17.83 kB / 0.7307 GB, free: 3.402 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.955e-05/0.003137, allocations: 43.94 kB / 0.7307 GB, free: 3.359 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.003456, allocations: 251.3 kB / 0.731 GB, free: 3.137 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003015/0.003757, allocations: 178.8 kB / 0.7311 GB, free: 2.957 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003333/0.00409, allocations: 239.5 kB / 0.7314 GB, free: 2.723 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.004242, allocations: 110.3 kB / 0.7315 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.164e-05/0.004304, allocations: 28 kB / 0.7315 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.361e-05/0.004347, allocations: 28 kB / 0.7315 GB, free: 2.562 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.862e-05/0.004426, allocations: 59.75 kB / 0.7316 GB, free: 2.504 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.247e-05/0.004508, allocations: 67.81 kB / 0.7316 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.004803, allocations: 235 kB / 0.7319 GB, free: 2.207 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.585e-05/0.004819, allocations: 0 / 0.7319 GB, free: 2.207 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.393e-06/0.00482, allocations: 0.5 kB / 0.7319 GB, free: 2.207 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.883e-05/0.004839, allocations: 1.406 kB / 0.7319 GB, free: 2.207 MB / 0.698 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.0006742/0.005513, allocations: 0.5463 MB / 0.7324 GB, free: 1.629 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.005552, allocations: 12.03 kB / 0.7324 GB, free: 1.617 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.446e-05/0.005646, allocations: 44.91 kB / 0.7324 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.00599, allocations: 238.5 kB / 0.7327 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.202e-05/0.006042, allocations: 37.52 kB / 0.7327 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.006086, allocations: 32.91 kB / 0.7327 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.006479, allocations: 264.7 kB / 0.733 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.006492, allocations: 192 / 0.733 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.006517, allocations: 16.38 kB / 0.733 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.006529, allocations: 8.969 kB / 0.733 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.006698, allocations: 109.7 kB / 0.7331 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009457/0.007644, allocations: 0.6088 MB / 0.7337 GB, free: 216 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.007751, allocations: 58.92 kB / 0.7338 GB, free: 140 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.608e-05/0.007777, allocations: 21.72 kB / 0.7338 GB, free: 112 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.0078, allocations: 3.938 kB / 0.7338 GB, free: 108 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.007827, allocations: 35.59 kB / 0.7338 GB, free: 64 kB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.007828, allocations: 0 / 0.7338 GB, free: 64 kB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0002018/0.00803, allocations: 67.41 kB / 0.7339 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.008069, allocations: 77.11 kB / 0.734 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.008302, allocations: 280.6 kB / 0.7342 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.008314, allocations: 29.7 kB / 0.7343 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.008416, allocations: 192.8 kB / 0.7345 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.008431, allocations: 16.98 kB / 0.7345 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.685e-05/0.008517, allocations: 77.61 kB / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.819e-05/0.008616, allocations: 334.7 kB / 0.7349 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.633e-05/0.008652, allocations: 12.97 kB / 0.7349 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.864e-05/0.008701, allocations: 41.75 kB / 0.7349 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.122e-05/0.008792, allocations: 67.22 kB / 0.735 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.008794, allocations: 0 / 0.735 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001489/0.008943, allocations: 101.5 kB / 0.7351 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.008958, allocations: 4 kB / 0.7351 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.008965, allocations: 4 kB / 0.7351 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.00898, allocations: 4.875 kB / 0.7351 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.009127, allocations: 31.98 kB / 0.7351 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.00913, allocations: 1.094 kB / 0.7351 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.00918, allocations: 11.89 kB / 0.7351 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.009197, allocations: 8 kB / 0.7351 GB, free: 14.66 MB / 0.7136 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 (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.0001248/0.009322, allocations: 136.3 kB / 0.7353 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.00937, allocations: 13.2 kB / 0.7353 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.009532, allocations: 84.61 kB / 0.7354 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.009535, allocations: 4 kB / 0.7354 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.009536, allocations: 0.6562 kB / 0.7354 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.009539, allocations: 1.125 kB / 0.7354 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.009876, allocations: 453 kB / 0.7358 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.009879, allocations: 0 / 0.7358 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.482e-05/0.009904, allocations: 13.17 kB / 0.7358 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.406e-05/0.009928, allocations: 15.91 kB / 0.7358 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.009931, allocations: 0 / 0.7358 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.009936, allocations: 5.25 kB / 0.7358 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.009939, allocations: 0 / 0.7358 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.009942, allocations: 4.312 kB / 0.7358 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.01004, allocations: 96.7 kB / 0.7359 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.01006, allocations: 4 kB / 0.7359 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.728e-05/0.0101, allocations: 4 kB / 0.7359 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.859e-05/0.01012, allocations: 12.39 kB / 0.7359 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.01012, allocations: 5.562 kB / 0.736 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.332e-05/0.01022, allocations: 82.77 kB / 0.736 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.01022, allocations: 3.938 kB / 0.736 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002247/0.01044, allocations: 55.73 kB / 0.7361 GB, free: 13.61 MB / 0.7136 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 (idxFirTru.y,idxFirTru.intEqu.y,idxFirTruAllFal.y,idxFirTruAllFal.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.0001055/0.01055, allocations: 81.64 kB / 0.7362 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.01066, allocations: 52.77 kB / 0.7362 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.01067, allocations: 4.5 kB / 0.7362 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-05/0.01069, allocations: 18.3 kB / 0.7362 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.01093, allocations: 168.5 kB / 0.7364 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006111/0.01154, allocations: 476.7 kB / 0.7369 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.166e-05/0.0116, allocations: 87.95 kB / 0.7369 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.818e-05/0.01165, allocations: 13.64 kB / 0.7369 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.201e-05/0.01173, allocations: 72.61 kB / 0.737 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of SimCode: time 8.31e-07/0.01173, allocations: 0 / 0.737 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of Templates: time 0.004362/0.01609, allocations: 1.377 MB / 0.7384 GB, free: 11.26 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex/Buildings_12_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: 4.796769054606557]