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.001739/0.001739, allocations: 107.7 kB / 18.88 MB, free: 3.051 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.002098/0.002098, allocations: 199.3 kB / 22.17 MB, free: 5.199 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.499/1.499, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.848/2.848, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] 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.002193/0.002193, allocations: 63.91 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8153/0.8175, allocations: 168.7 MB / 1.274 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002215/0.8197, allocations: 0.8792 MB / 1.275 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002792/0.82, allocations: 87.7 kB / 1.275 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.794e-05/0.82, allocations: 4 kB / 1.275 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.8202, allocations: 23.73 kB / 1.275 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.8203, allocations: 15.86 kB / 1.275 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.806e-05/0.8204, allocations: 47.94 kB / 1.275 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.8207, allocations: 247.5 kB / 1.275 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003198/0.8211, allocations: 170.4 kB / 1.275 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.8212, allocations: 143.4 kB / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.8214, allocations: 143.3 kB / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.052e-05/0.8214, allocations: 32 kB / 1.276 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.335e-05/0.8215, allocations: 32 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.35e-05/0.8216, allocations: 83.77 kB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.8217, allocations: 155 kB / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005047/0.8222, allocations: 464.8 kB / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8222, allocations: 0 / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8222, allocations: 0 / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.8222, allocations: 0 / 1.276 GB, free: 2.012 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.0008341/0.8231, allocations: 0.6116 MB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.8231, allocations: 12.03 kB / 1.277 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.231e-05/0.8232, allocations: 40.69 kB / 1.277 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004979/0.8237, allocations: 332.3 kB / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.006e-05/0.8238, allocations: 40.97 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-05/0.8238, allocations: 28.38 kB / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006312/0.8244, allocations: 400.2 kB / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.8245, allocations: 4.188 kB / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.8245, allocations: 11.94 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.8245, allocations: 8 kB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005337/0.825, allocations: 311.5 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.8266, allocations: 1.058 MB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.8268, allocations: 89.22 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.104e-05/0.8269, allocations: 43.34 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.8269, allocations: 7.922 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.8269, allocations: 34.56 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.8269, allocations: 0 / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003765/0.8273, allocations: 177.3 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.8274, allocations: 77.11 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006316/0.828, allocations: 0.5053 MB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.828, allocations: 25.7 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.8282, allocations: 215.7 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.8282, allocations: 11.89 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.558e-05/0.8283, allocations: 57.64 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.8285, allocations: 342.8 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.8286, allocations: 71.95 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.8288, allocations: 87.22 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.8289, allocations: 117.5 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8289, allocations: 0 / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003347/0.8293, allocations: 209.3 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.8293, allocations: 4 kB / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.8293, allocations: 4 kB / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.8293, allocations: 3.938 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.8295, allocations: 39.92 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.8295, allocations: 0 / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.539e-05/0.8296, allocations: 35.69 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.8296, allocations: 4 kB / 1.281 GB, free: 12.79 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.0002483/0.8298, allocations: 204 kB / 1.281 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.327e-05/0.8299, allocations: 31.81 kB / 1.282 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.8302, allocations: 122 kB / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.8302, allocations: 3.938 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.8302, allocations: 0 / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.8302, allocations: 192 / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007134/0.8309, allocations: 0.6604 MB / 1.282 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8309, allocations: 7.969 kB / 1.282 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.8309, allocations: 11.94 kB / 1.282 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8309, allocations: 0 / 1.282 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.8309, allocations: 4 kB / 1.282 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.8309, allocations: 0 / 1.282 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8309, allocations: 0 / 1.282 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.8311, allocations: 139.8 kB / 1.282 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.8313, allocations: 120.9 kB / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.8313, allocations: 0 / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.555e-05/0.8313, allocations: 7.984 kB / 1.283 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.8314, allocations: 4 kB / 1.283 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.8314, allocations: 4 kB / 1.283 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004817/0.8319, allocations: 387 kB / 1.283 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8319, allocations: 0 / 1.283 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002518/0.8321, allocations: 47.89 kB / 1.283 GB, free: 10.92 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.0001707/0.8323, allocations: 99.78 kB / 1.283 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.8325, allocations: 103.8 kB / 1.283 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8325, allocations: 0 / 1.283 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.863e-05/0.8326, allocations: 15.94 kB / 1.283 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.8328, allocations: 33.55 kB / 1.283 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00085/0.8337, allocations: 0.5175 MB / 1.284 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.8342, allocations: 0.7909 MB / 1.285 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001102/0.8343, allocations: 58.92 kB / 1.285 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.265e-05/0.8344, allocations: 23.44 kB / 1.285 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.8344, allocations: 3.938 kB / 1.285 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of Templates: time 0.006566/0.8409, allocations: 2.023 MB / 1.287 GB, free: 7.191 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 cvode -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.929178496822715]