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.001121/0.001121, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.002535, allocations: 435.8 kB / 10.33 MB, free: 368 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.001035/0.001035, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001252/0.002287, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9286/0.9286, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09674/1.025, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.331/2.331, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2624/2.594, allocations: 145.9 MB / 0.817 GB, free: 4.219 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.613e-06/1.613e-06, allocations: 0 / 0.8183 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.224e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002338/0.002361, allocations: 1.067 MB / 0.8193 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0003826/0.002743, allocations: 175.1 kB / 0.8195 GB, free: 1.684 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.744e-05/0.002841, allocations: 4 kB / 0.8195 GB, free: 1.68 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.002953, allocations: 39.66 kB / 0.8195 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.003064, allocations: 11.86 kB / 0.8195 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.003203, allocations: 71.94 kB / 0.8196 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0003792/0.003582, allocations: 347.2 kB / 0.8199 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003775/0.00396, allocations: 293.5 kB / 0.8202 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.004269, allocations: 331.4 kB / 0.8205 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.004424, allocations: 159.6 kB / 0.8207 GB, free: 444 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 6.31e-05/0.004487, allocations: 52 kB / 0.8207 GB, free: 392 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 3.844e-05/0.004526, allocations: 48 kB / 0.8208 GB, free: 344 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.004603, allocations: 99.67 kB / 0.8209 GB, free: 244 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 8.129e-05/0.004684, allocations: 103.7 kB / 0.821 GB, free: 140 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0004252/0.00511, allocations: 350.8 kB / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.259e-05/0.005122, allocations: 4 kB / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.61e-07/0.005123, allocations: 0 / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.005137, allocations: 0 / 0.8213 GB, free: 15.79 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.0005973/0.005734, allocations: 0.6866 MB / 0.822 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.005764, allocations: 8.625 kB / 0.822 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.616e-05/0.00584, allocations: 68.89 kB / 0.8221 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.006117, allocations: 262.1 kB / 0.8223 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/0.006164, allocations: 49.36 kB / 0.8224 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.006202, allocations: 44.38 kB / 0.8224 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004721/0.006674, allocations: 390 kB / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.006687, allocations: 192 / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.006712, allocations: 16.38 kB / 0.8228 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.006723, allocations: 12.38 kB / 0.8228 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.006907, allocations: 152.5 kB / 0.8229 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009822/0.007889, allocations: 0.8517 MB / 0.8238 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.008128, allocations: 97.03 kB / 0.8239 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.008162, allocations: 29.72 kB / 0.8239 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.008188, allocations: 8 kB / 0.8239 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.008215, allocations: 50.86 kB / 0.824 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.008216, allocations: 0 / 0.824 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0002008/0.008417, allocations: 117.6 kB / 0.8241 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.00846, allocations: 89.05 kB / 0.8242 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.00864, allocations: 300.5 kB / 0.8244 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.008657, allocations: 29.7 kB / 0.8245 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.008759, allocations: 232.8 kB / 0.8247 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.008798, allocations: 59.52 kB / 0.8247 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-05/0.008877, allocations: 97.55 kB / 0.8248 GB, free: 12 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.632e-05/0.008964, allocations: 342.8 kB / 0.8252 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.561e-05/0.008999, allocations: 23.98 kB / 0.8252 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.259e-05/0.009052, allocations: 53.61 kB / 0.8252 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.7e-05/0.009149, allocations: 92.52 kB / 0.8253 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.009151, allocations: 0 / 0.8253 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001371/0.009289, allocations: 135.9 kB / 0.8255 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.009304, allocations: 4 kB / 0.8255 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.009309, allocations: 0 / 0.8255 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.009323, allocations: 4 kB / 0.8255 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.00946, allocations: 67.91 kB / 0.8255 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.009464, allocations: 3.938 kB / 0.8255 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.881e-05/0.009503, allocations: 23.84 kB / 0.8256 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.009517, allocations: 7.984 kB / 0.8256 GB, free: 11.23 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.0001031/0.00962, allocations: 142.6 kB / 0.8257 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/0.009654, allocations: 19.98 kB / 0.8257 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.009808, allocations: 139.2 kB / 0.8259 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.009811, allocations: 4 kB / 0.8259 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.009814, allocations: 4 kB / 0.8259 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.009821, allocations: 11.92 kB / 0.8259 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005706/0.01039, allocations: 0.709 MB / 0.8266 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.0104, allocations: 4 kB / 0.8266 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.943e-05/0.01047, allocations: 47.91 kB / 0.8266 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.0105, allocations: 35.77 kB / 0.8266 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.01051, allocations: 7.938 kB / 0.8267 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.01052, allocations: 12 kB / 0.8267 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.01052, allocations: 11.88 kB / 0.8267 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.01053, allocations: 8 kB / 0.8267 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.0107, allocations: 257.5 kB / 0.8269 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.01072, allocations: 11.98 kB / 0.8269 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.739e-05/0.01077, allocations: 12 kB / 0.827 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.01082, allocations: 31.84 kB / 0.827 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.01083, allocations: 15.98 kB / 0.827 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.656e-05/0.01088, allocations: 82.72 kB / 0.8271 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01088, allocations: 0 / 0.8271 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001688/0.01105, allocations: 83.62 kB / 0.8272 GB, free: 9.418 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.071e-05/0.01113, allocations: 96.3 kB / 0.8272 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001438/0.01128, allocations: 119.4 kB / 0.8274 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.01128, allocations: 4 kB / 0.8274 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.485e-05/0.01135, allocations: 73.69 kB / 0.8274 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.01153, allocations: 56.84 kB / 0.8275 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006828/0.01222, allocations: 0.7343 MB / 0.8282 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.785e-05/0.01229, allocations: 116.3 kB / 0.8283 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.143e-05/0.01236, allocations: 34.47 kB / 0.8284 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.708e-05/0.01244, allocations: 83.36 kB / 0.8284 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of SimCode: time 6.11e-07/0.01244, allocations: 0 / 0.8284 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of Templates: time 0.004052/0.0165, allocations: 2.139 MB / 0.8305 GB, free: 5.902 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.216942325234413]