Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002136/0.002136, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.833/2.833, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 63.84 kB / 1.109 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7506/0.7528, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002338/0.7552, allocations: 0.8728 MB / 1.275 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003273/0.7555, allocations: 83.7 kB / 1.275 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.7556, allocations: 4 kB / 1.275 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.7558, allocations: 27.72 kB / 1.275 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.7559, allocations: 11.88 kB / 1.275 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 9.265e-05/0.756, allocations: 39.95 kB / 1.275 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003401/0.7563, allocations: 255.5 kB / 1.275 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.7567, allocations: 178.3 kB / 1.275 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.7568, allocations: 131.5 kB / 1.276 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.757, allocations: 143.3 kB / 1.276 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.592e-05/0.7571, allocations: 36 kB / 1.276 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.14e-05/0.7571, allocations: 32 kB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.7572, allocations: 83.77 kB / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.7574, allocations: 159 kB / 1.276 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004817/0.7579, allocations: 460.8 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.7579, allocations: 3.938 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7579, allocations: 0 / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.7579, allocations: 0 / 1.276 GB, free: 2.074 MB / 0.9669 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.000876/0.7588, allocations: 0.6077 MB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.7588, allocations: 12.03 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.693e-05/0.7589, allocations: 44.64 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.7594, allocations: 328.4 kB / 1.277 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.78e-05/0.7594, allocations: 33.03 kB / 1.277 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-05/0.7595, allocations: 32.38 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006385/0.7601, allocations: 400.2 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.7601, allocations: 192 / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.7602, allocations: 23.94 kB / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.7602, allocations: 8 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004951/0.7607, allocations: 311.5 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.7623, allocations: 1.054 MB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.7625, allocations: 89.16 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.546e-05/0.7625, allocations: 51.33 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.7625, allocations: 4 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.7626, allocations: 30.56 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.7626, allocations: 0 / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003777/0.763, allocations: 165.3 kB / 1.28 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.763, allocations: 85.05 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006088/0.7636, allocations: 0.5092 MB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.7637, allocations: 29.7 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.7638, allocations: 203.7 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.7638, allocations: 19.88 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.962e-05/0.7639, allocations: 61.64 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.7641, allocations: 338.8 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.7642, allocations: 67.95 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.7643, allocations: 99.16 kB / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.7645, allocations: 113.6 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.7645, allocations: 4 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000326/0.7648, allocations: 209.3 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.7649, allocations: 4 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.7649, allocations: 0 / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.7649, allocations: 4 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.765, allocations: 27.92 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.765, allocations: 4 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.405e-05/0.7651, allocations: 35.69 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.7652, allocations: 15.94 kB / 1.281 GB, free: 12.84 MB / 0.9825 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.0002134/0.7654, allocations: 200.4 kB / 1.282 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.7654, allocations: 31.81 kB / 1.282 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.7657, allocations: 114 kB / 1.282 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.7657, allocations: 8.062 kB / 1.282 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7657, allocations: 8.062 kB / 1.282 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.7657, allocations: 3.938 kB / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006638/0.7663, allocations: 0.6602 MB / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.7663, allocations: 4 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-05/0.7664, allocations: 0 / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.7664, allocations: 8.125 kB / 1.282 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.7664, allocations: 0 / 1.282 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.7664, allocations: 4 kB / 1.282 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.7664, allocations: 3.984 kB / 1.282 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.7665, allocations: 127.4 kB / 1.282 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.7667, allocations: 120.9 kB / 1.283 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.7667, allocations: 7.984 kB / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.279e-05/0.7667, allocations: 0 / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.7668, allocations: 8 kB / 1.283 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.7668, allocations: 4 kB / 1.283 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004806/0.7673, allocations: 391 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7673, allocations: 0 / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002594/0.7675, allocations: 39.89 kB / 1.283 GB, free: 10.98 MB / 0.9825 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.000133/0.7676, allocations: 107.8 kB / 1.283 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.7679, allocations: 103.8 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7679, allocations: 0 / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.702e-05/0.7679, allocations: 12 kB / 1.283 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.7682, allocations: 33.48 kB / 1.283 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008281/0.769, allocations: 0.5214 MB / 1.284 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.7695, allocations: 0.7909 MB / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001161/0.7696, allocations: 58.94 kB / 1.285 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.27e-05/0.7696, allocations: 19.44 kB / 1.285 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of SimCode: time 8.22e-07/0.7696, allocations: 384 / 1.285 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of Templates: time 0.006141/0.7758, allocations: 2.026 MB / 1.287 GB, free: 7.254 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.564832192845643]