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.001356/0.001356, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001608/0.001608, allocations: 181 kB / 23.36 MB, free: 1.129 MB / 18.57 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.986/0.986, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.514/2.514, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.482e-06/1.482e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.216e-05/1.365e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001501/0.001514, allocations: 1.05 MB / 0.8396 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0003036/0.001818, allocations: 167.3 kB / 0.8398 GB, free: 13 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.279e-05/0.001901, allocations: 11.94 kB / 0.8398 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.002019, allocations: 31.7 kB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.002136, allocations: 23.8 kB / 0.8399 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.002276, allocations: 67.88 kB / 0.8399 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.002547, allocations: 355.3 kB / 0.8403 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004716/0.003018, allocations: 293.5 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/0.003291, allocations: 307.4 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.003449, allocations: 163.6 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.818e-05/0.003497, allocations: 51.98 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.875e-05/0.003536, allocations: 52 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.31e-05/0.003619, allocations: 123.6 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.821e-05/0.003707, allocations: 139.6 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.003987, allocations: 378.5 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003988, allocations: 0 / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003989, allocations: 4 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.003994, allocations: 0 / 0.8417 GB, free: 11.02 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.0004652/0.004459, allocations: 0.6011 MB / 0.8423 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.004493, allocations: 12.62 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/0.004566, allocations: 72.86 kB / 0.8424 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.004822, allocations: 274 kB / 0.8426 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.14e-05/0.004863, allocations: 41.38 kB / 0.8427 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.004901, allocations: 52.31 kB / 0.8427 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003565/0.005258, allocations: 374.1 kB / 0.8431 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.005269, allocations: 4.188 kB / 0.8431 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.005292, allocations: 16.38 kB / 0.8431 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.005301, allocations: 16.38 kB / 0.8431 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.00547, allocations: 156.5 kB / 0.8433 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.006612, allocations: 0.8402 MB / 0.8441 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.006825, allocations: 93.09 kB / 0.8442 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.627e-05/0.006861, allocations: 38.02 kB / 0.8442 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.006879, allocations: 8 kB / 0.8442 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.006899, allocations: 38.56 kB / 0.8443 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.006901, allocations: 0 / 0.8443 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0001921/0.007093, allocations: 125.5 kB / 0.8444 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.007126, allocations: 81.11 kB / 0.8445 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.00729, allocations: 304.5 kB / 0.8447 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.007303, allocations: 29.7 kB / 0.8448 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.515e-05/0.007389, allocations: 228.9 kB / 0.845 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.007423, allocations: 59.47 kB / 0.8451 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/0.0075, allocations: 97.58 kB / 0.8451 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.661e-05/0.007576, allocations: 334.8 kB / 0.8455 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.726e-05/0.007613, allocations: 31.98 kB / 0.8455 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.997e-05/0.007663, allocations: 53.66 kB / 0.8455 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.353e-05/0.007757, allocations: 87.95 kB / 0.8456 GB, free: 6.809 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.007759, allocations: 7.938 kB / 0.8456 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001369/0.007896, allocations: 137.5 kB / 0.8458 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.007907, allocations: 4 kB / 0.8458 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.007911, allocations: 0 / 0.8458 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.007922, allocations: 4 kB / 0.8458 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.008038, allocations: 55.91 kB / 0.8458 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.008043, allocations: 11.94 kB / 0.8458 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.008084, allocations: 31.77 kB / 0.8459 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.008097, allocations: 4 kB / 0.8459 GB, free: 6.551 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 9.321e-05/0.00819, allocations: 134.6 kB / 0.846 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.008228, allocations: 23.97 kB / 0.846 GB, free: 6.383 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.008381, allocations: 128.1 kB / 0.8461 GB, free: 6.25 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.008384, allocations: 4 kB / 0.8462 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.008386, allocations: 4 kB / 0.8462 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.00839, allocations: 3.938 kB / 0.8462 GB, free: 6.238 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.008964, allocations: 0.7285 MB / 0.8469 GB, free: 5.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.008968, allocations: 4 kB / 0.8469 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.393e-05/0.009042, allocations: 43.91 kB / 0.8469 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.009046, allocations: 4 kB / 0.8469 GB, free: 5.371 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.009062, allocations: 23.92 kB / 0.8469 GB, free: 5.348 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.009066, allocations: 4 kB / 0.8469 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.009072, allocations: 11.94 kB / 0.847 GB, free: 5.332 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.009251, allocations: 263.5 kB / 0.8472 GB, free: 5 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.009273, allocations: 27.8 kB / 0.8472 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.009293, allocations: 11.98 kB / 0.8472 GB, free: 4.961 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.81e-05/0.009341, allocations: 12 kB / 0.8473 GB, free: 4.949 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.009393, allocations: 31.84 kB / 0.8473 GB, free: 4.918 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.009406, allocations: 15.98 kB / 0.8473 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.862e-05/0.009465, allocations: 86.7 kB / 0.8474 GB, free: 4.816 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.009465, allocations: 0 / 0.8474 GB, free: 4.816 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001745/0.009639, allocations: 83.62 kB / 0.8475 GB, free: 4.734 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 8.042e-05/0.00972, allocations: 102.7 kB / 0.8476 GB, free: 4.629 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.009857, allocations: 120.5 kB / 0.8477 GB, free: 4.508 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.009862, allocations: 4 kB / 0.8477 GB, free: 4.504 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.181e-05/0.009924, allocations: 61.7 kB / 0.8477 GB, free: 4.441 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.0101, allocations: 44.67 kB / 0.8478 GB, free: 4.398 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006426/0.01074, allocations: 0.7185 MB / 0.8485 GB, free: 3.59 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.033e-05/0.01081, allocations: 108.3 kB / 0.8486 GB, free: 3.465 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.998e-05/0.01087, allocations: 26.28 kB / 0.8486 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.821e-05/0.01096, allocations: 91.36 kB / 0.8487 GB, free: 3.348 MB / 0.8073 GB Notification: Performance of SimCode: time 8.11e-07/0.01096, allocations: 0 / 0.8487 GB, free: 3.348 MB / 0.8073 GB Notification: Performance of Templates: time 0.004316/0.01528, allocations: 2.084 MB / 0.8507 GB, free: 1.309 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 -s gbode -gbm=radauIIA3 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.402135103940964]