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.001158/0.001158, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001569/0.002727, allocations: 449.7 kB / 10.37 MB, free: 328 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.001127/0.001127, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001452/0.002579, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9182/0.9182, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08604/1.004, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.834/1.834, allocations: 378.2 MB / 0.6076 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4534/2.287, allocations: 123.3 MB / 0.728 GB, free: 5.844 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 1.463e-06/1.463e-06, allocations: 0.5469 kB / 0.7293 GB, free: 4.566 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.952e-05, allocations: 8.922 kB / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001343/0.001363, allocations: 0.9096 MB / 0.7302 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001306/0.001494, allocations: 100.2 kB / 0.7303 GB, free: 3.574 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.001556, allocations: 8.703 kB / 0.7303 GB, free: 3.566 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.082e-05/0.001627, allocations: 25.05 kB / 0.7303 GB, free: 3.543 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.79e-05/0.001705, allocations: 16.64 kB / 0.7303 GB, free: 3.531 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.659e-05/0.001761, allocations: 43.95 kB / 0.7304 GB, free: 3.488 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000211/0.001972, allocations: 249.7 kB / 0.7306 GB, free: 3.266 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.002176, allocations: 182.8 kB / 0.7308 GB, free: 3.086 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.002386, allocations: 239.5 kB / 0.731 GB, free: 2.852 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.909e-05/0.002475, allocations: 103.7 kB / 0.7311 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.682e-05/0.002512, allocations: 31.94 kB / 0.7312 GB, free: 2.719 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.451e-05/0.002536, allocations: 28 kB / 0.7312 GB, free: 2.691 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.002586, allocations: 55.81 kB / 0.7312 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.749e-05/0.002644, allocations: 72.88 kB / 0.7313 GB, free: 2.566 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.002829, allocations: 235 kB / 0.7315 GB, free: 2.336 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.211e-05/0.002841, allocations: 0 / 0.7315 GB, free: 2.336 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.01e-07/0.002842, allocations: 0.5 kB / 0.7315 GB, free: 2.336 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.002854, allocations: 1.438 kB / 0.7315 GB, free: 2.336 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.0004339/0.003288, allocations: 0.5425 MB / 0.7321 GB, free: 1.762 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.003316, allocations: 8.031 kB / 0.7321 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.003378, allocations: 52.91 kB / 0.7321 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.003608, allocations: 231.1 kB / 0.7323 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.003647, allocations: 41.02 kB / 0.7324 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.003671, allocations: 29.16 kB / 0.7324 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.003924, allocations: 267.7 kB / 0.7327 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.003933, allocations: 1.969 kB / 0.7327 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.003949, allocations: 12.38 kB / 0.7327 GB, free: 1.102 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.003956, allocations: 8.375 kB / 0.7327 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.004068, allocations: 105.1 kB / 0.7328 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006276/0.004695, allocations: 0.6127 MB / 0.7334 GB, free: 360 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.55e-05/0.004771, allocations: 62.25 kB / 0.7334 GB, free: 280 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.004789, allocations: 19.22 kB / 0.7335 GB, free: 256 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.004808, allocations: 0 / 0.7335 GB, free: 256 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.004827, allocations: 30.56 kB / 0.7335 GB, free: 216 kB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.004827, allocations: 4 kB / 0.7335 GB, free: 212 kB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0001268/0.004954, allocations: 70.56 kB / 0.7336 GB, free: 136 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.004987, allocations: 81.05 kB / 0.7336 GB, free: 36 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.005147, allocations: 285.4 kB / 0.7339 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.005156, allocations: 25.7 kB / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.005228, allocations: 193.5 kB / 0.7341 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.189e-05/0.00524, allocations: 19.89 kB / 0.7341 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.005293, allocations: 70.16 kB / 0.7342 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.498e-05/0.005368, allocations: 340 kB / 0.7345 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.005472, allocations: 12 kB / 0.7345 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.189e-05/0.005504, allocations: 29.7 kB / 0.7346 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.086e-05/0.005555, allocations: 57.55 kB / 0.7346 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.005557, allocations: 1.312 kB / 0.7346 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 9.049e-05/0.005648, allocations: 97.58 kB / 0.7347 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.005659, allocations: 4 kB / 0.7347 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.005663, allocations: 4.594 kB / 0.7347 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.845e-06/0.005671, allocations: 0.5312 kB / 0.7347 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.782e-05/0.005769, allocations: 35.92 kB / 0.7348 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.005772, allocations: 0.9688 kB / 0.7348 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.78e-05/0.0058, allocations: 15.89 kB / 0.7348 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.005809, allocations: 4.531 kB / 0.7348 GB, free: 14.82 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 8.218e-05/0.005892, allocations: 136.1 kB / 0.7349 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.005918, allocations: 11.98 kB / 0.7349 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.00603, allocations: 99.14 kB / 0.735 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.006032, allocations: 0 / 0.735 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.006034, allocations: 0 / 0.735 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.006036, allocations: 0 / 0.735 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.006266, allocations: 457.9 kB / 0.7355 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.006267, allocations: 0 / 0.7355 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.681e-05/0.006284, allocations: 8 kB / 0.7355 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.006299, allocations: 15.89 kB / 0.7355 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.006301, allocations: 1.25 kB / 0.7355 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.006305, allocations: 4 kB / 0.7355 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.006307, allocations: 0 / 0.7355 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.006308, allocations: 4.844 kB / 0.7355 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.186e-05/0.00637, allocations: 96 kB / 0.7356 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.006383, allocations: 5.078 kB / 0.7356 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.39e-05/0.006407, allocations: 11.97 kB / 0.7356 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.00642, allocations: 3.938 kB / 0.7356 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.006422, allocations: 4.688 kB / 0.7356 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.827e-05/0.00648, allocations: 78.78 kB / 0.7357 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00648, allocations: 1.781 kB / 0.7357 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001256/0.006606, allocations: 59.73 kB / 0.7357 GB, free: 13.76 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 7.06e-05/0.006677, allocations: 84.34 kB / 0.7358 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.889e-05/0.006755, allocations: 53.83 kB / 0.7359 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.006761, allocations: 4 kB / 0.7359 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.141e-05/0.006772, allocations: 17.53 kB / 0.7359 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.006894, allocations: 33.81 kB / 0.7359 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/0.00735, allocations: 473.4 kB / 0.7364 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.162e-05/0.007392, allocations: 83.97 kB / 0.7365 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.417e-05/0.007426, allocations: 17.62 kB / 0.7365 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.007483, allocations: 67.38 kB / 0.7365 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of SimCode: time 8.31e-07/0.007484, allocations: 0 / 0.7365 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of Templates: time 0.003277/0.01076, allocations: 1.367 MB / 0.7379 GB, free: 11.58 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.567977212369442]