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.001855/0.001855, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.002312/0.002312, allocations: 212.3 kB / 22.99 MB, free: 4.984 MB / 14.72 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 1.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.228/3.228, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 67.83 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4019, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002358/0.4043, allocations: 0.8354 MB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002979/0.4046, allocations: 91.64 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.02e-05/0.4047, allocations: 8 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.4048, allocations: 19.73 kB / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.405, allocations: 23.84 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001047/0.4051, allocations: 47.89 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.4054, allocations: 243.5 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.4057, allocations: 178.7 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.4058, allocations: 139.5 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.4061, allocations: 135.3 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.44e-05/0.4061, allocations: 36 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.797e-05/0.4062, allocations: 32 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.53e-05/0.4062, allocations: 87.7 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.4064, allocations: 131.3 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004867/0.4069, allocations: 466 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.4069, allocations: 0 / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4069, allocations: 0 / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.4069, allocations: 3.938 kB / 1.329 GB, free: 14.53 MB / 1.029 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.0007636/0.4076, allocations: 0.5246 MB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.4077, allocations: 8.031 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.446e-05/0.4078, allocations: 48.59 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/0.4083, allocations: 267.2 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.122e-05/0.4083, allocations: 41.03 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.4084, allocations: 28.38 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006477/0.409, allocations: 400.2 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.409, allocations: 4.172 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.4091, allocations: 19.94 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.4091, allocations: 8 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005296/0.4096, allocations: 307.3 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.4109, allocations: 0.8417 MB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.4112, allocations: 85.22 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.283e-05/0.4112, allocations: 53.67 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.4113, allocations: 4 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.4113, allocations: 34.55 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.4113, allocations: 0 / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004085/0.4117, allocations: 157.8 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.4118, allocations: 77.11 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/0.4122, allocations: 349.5 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.4122, allocations: 25.7 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.4124, allocations: 204.4 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.4124, allocations: 19.92 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.4125, allocations: 73.64 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.4127, allocations: 338.8 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.4128, allocations: 63.95 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.4129, allocations: 95.28 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.4131, allocations: 121.5 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4131, allocations: 0 / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002995/0.4134, allocations: 189.4 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4134, allocations: 8 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.4134, allocations: 0 / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4134, allocations: 0 / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.4136, allocations: 35.92 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.4136, allocations: 7.938 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.728e-05/0.4137, allocations: 23.78 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.4137, allocations: 11.98 kB / 1.334 GB, free: 9.895 MB / 1.029 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.0002282/0.4139, allocations: 204.2 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.414, allocations: 15.91 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.4142, allocations: 104.6 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4142, allocations: 0 / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4142, allocations: 8 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4142, allocations: 0 / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006176/0.4148, allocations: 0.5547 MB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4148, allocations: 0 / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.271e-05/0.4148, allocations: 4 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.4148, allocations: 7.938 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.4148, allocations: 0 / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4148, allocations: 0 / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4148, allocations: 4 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.415, allocations: 119.6 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.4151, allocations: 31.97 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.4151, allocations: 4 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.742e-05/0.4151, allocations: 7.938 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.4151, allocations: 4 kB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.4151, allocations: 0 / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002865/0.4154, allocations: 241.2 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4154, allocations: 0 / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002532/0.4157, allocations: 55.73 kB / 1.335 GB, free: 8.445 MB / 1.029 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.0001255/0.4158, allocations: 111.2 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.416, allocations: 99.83 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.416, allocations: 0 / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.63e-05/0.416, allocations: 19.98 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.4163, allocations: 21.75 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007111/0.417, allocations: 485.8 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.4172, allocations: 187.3 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.328e-05/0.4172, allocations: 41.61 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.4173, allocations: 15.44 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of SimCode: time 4.5e-07/0.4173, allocations: 3.938 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of Templates: time 0.004801/0.4221, allocations: 1.361 MB / 1.337 GB, free: 6.078 MB / 1.029 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 -s gbode -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/jenkins1/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.147116052001365]