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.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.00199/0.00199, allocations: 101.8 kB / 18.83 MB, free: 3.023 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.002507/0.002507, allocations: 194 kB / 22.1 MB, free: 4.625 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.685/1.685, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.347/3.347, allocations: 495.8 MB / 0.783 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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 0.002092/0.002092, allocations: 61.59 kB / 1.137 GB, free: 33.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3914, allocations: 173.6 MB / 1.307 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002468/0.3938, allocations: 0.8781 MB / 1.308 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002633/0.3941, allocations: 87.7 kB / 1.308 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.991e-05/0.3942, allocations: 7.938 kB / 1.308 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.3943, allocations: 23.8 kB / 1.308 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.3944, allocations: 11.86 kB / 1.308 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.913e-05/0.3945, allocations: 43.91 kB / 1.308 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.3948, allocations: 259.4 kB / 1.308 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003101/0.3951, allocations: 174.8 kB / 1.308 GB, free: 380 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.3953, allocations: 135.5 kB / 1.308 GB, free: 244 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.3955, allocations: 147.3 kB / 1.308 GB, free: 96 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.364e-05/0.3955, allocations: 32 kB / 1.308 GB, free: 64 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.077e-05/0.3956, allocations: 36 kB / 1.309 GB, free: 28 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.3957, allocations: 83.77 kB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.3958, allocations: 155.1 kB / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000501/0.3963, allocations: 458 kB / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.3964, allocations: 3.984 kB / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3964, allocations: 0 / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.3964, allocations: 0 / 1.309 GB, free: 15.34 MB / 1.014 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.0007997/0.3972, allocations: 0.5323 MB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3972, allocations: 12.92 kB / 1.31 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.208e-05/0.3973, allocations: 40.7 kB / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.3977, allocations: 275.2 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/0.3978, allocations: 29.03 kB / 1.31 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/0.3978, allocations: 36.38 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006249/0.3985, allocations: 400.2 kB / 1.31 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3985, allocations: 192 / 1.31 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.3985, allocations: 15.94 kB / 1.31 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.3985, allocations: 8 kB / 1.31 GB, free: 13.94 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004841/0.399, allocations: 307.6 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.4006, allocations: 1.02 MB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.4007, allocations: 89.16 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.303e-05/0.4008, allocations: 41.8 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.4008, allocations: 4 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.4008, allocations: 38.55 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.4008, allocations: 0 / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.000366/0.4012, allocations: 169.3 kB / 1.312 GB, free: 12.19 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.4013, allocations: 81.05 kB / 1.312 GB, free: 12.09 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006315/0.4019, allocations: 0.5092 MB / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.4019, allocations: 25.7 kB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.4021, allocations: 219.7 kB / 1.313 GB, free: 11.32 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.4021, allocations: 11.89 kB / 1.313 GB, free: 11.31 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.944e-05/0.4022, allocations: 53.66 kB / 1.313 GB, free: 11.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.4024, allocations: 346.8 kB / 1.313 GB, free: 10.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.4025, allocations: 67.95 kB / 1.313 GB, free: 10.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.4026, allocations: 85.66 kB / 1.313 GB, free: 10.75 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.4028, allocations: 121.5 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4028, allocations: 0 / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000328/0.4032, allocations: 205.4 kB / 1.314 GB, free: 10.42 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.4032, allocations: 9.094 kB / 1.314 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4032, allocations: 0 / 1.314 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.4032, allocations: 0 / 1.314 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.4034, allocations: 39.86 kB / 1.314 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.4034, allocations: 0 / 1.314 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.201e-05/0.4035, allocations: 39.62 kB / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.4035, allocations: 4 kB / 1.314 GB, free: 10.33 MB / 1.014 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.0002354/0.4037, allocations: 207.7 kB / 1.314 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.53e-05/0.4038, allocations: 28 kB / 1.314 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.404, allocations: 122.1 kB / 1.314 GB, free: 9.953 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.404, allocations: 7.875 kB / 1.314 GB, free: 9.945 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4041, allocations: 0 / 1.314 GB, free: 9.945 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4041, allocations: 0 / 1.314 GB, free: 9.945 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006718/0.4047, allocations: 0.636 MB / 1.315 GB, free: 9.246 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4047, allocations: 0 / 1.315 GB, free: 9.246 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/0.4048, allocations: 8 kB / 1.315 GB, free: 9.238 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.4048, allocations: 4 kB / 1.315 GB, free: 9.234 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.4048, allocations: 0 / 1.315 GB, free: 9.234 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4048, allocations: 128 / 1.315 GB, free: 9.234 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4048, allocations: 12.31 kB / 1.315 GB, free: 9.223 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.4049, allocations: 127.4 kB / 1.315 GB, free: 9.07 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.46e-05/0.405, allocations: 47.75 kB / 1.315 GB, free: 9.023 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.4051, allocations: 0 / 1.315 GB, free: 9.023 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.481e-05/0.4051, allocations: 8 kB / 1.315 GB, free: 9.016 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.4051, allocations: 11.98 kB / 1.315 GB, free: 9.004 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.4051, allocations: 4 kB / 1.315 GB, free: 9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004602/0.4056, allocations: 391 kB / 1.315 GB, free: 8.625 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.4056, allocations: 0 / 1.315 GB, free: 8.625 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002541/0.4059, allocations: 43.89 kB / 1.315 GB, free: 8.582 MB / 1.014 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.0001325/0.406, allocations: 96.05 kB / 1.316 GB, free: 8.477 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.4062, allocations: 107.9 kB / 1.316 GB, free: 8.371 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4062, allocations: 0 / 1.316 GB, free: 8.371 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.042e-05/0.4063, allocations: 15.94 kB / 1.316 GB, free: 8.355 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.4065, allocations: 33.59 kB / 1.316 GB, free: 8.32 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008122/0.4073, allocations: 0.5108 MB / 1.316 GB, free: 7.773 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.4078, allocations: 0.787 MB / 1.317 GB, free: 6.961 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.4079, allocations: 63.3 kB / 1.317 GB, free: 6.902 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.408, allocations: 23.44 kB / 1.317 GB, free: 6.879 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/0.408, allocations: 0 / 1.317 GB, free: 6.879 MB / 1.014 GB Notification: Performance of Templates: time 0.005899/0.4139, allocations: 2.072 MB / 1.319 GB, free: 4.816 MB / 1.014 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.568115459755063]