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.001484/0.001484, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001755/0.001755, allocations: 213.7 kB / 22.25 MB, free: 4.855 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.63/1.63, allocations: 230.6 MB / 256 MB, free: 7.801 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.428/3.428, allocations: 0.4892 GB / 0.7943 GB, free: 35.44 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.002208/0.002208, allocations: 73.17 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4227, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002748/0.4254, allocations: 0.8527 MB / 1.326 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004235/0.4258, allocations: 91.64 kB / 1.326 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.426, allocations: 4 kB / 1.326 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.4262, allocations: 19.8 kB / 1.326 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.4263, allocations: 19.84 kB / 1.326 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001144/0.4264, allocations: 39.97 kB / 1.327 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003896/0.4268, allocations: 259.4 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004034/0.4272, allocations: 170.8 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.4274, allocations: 135.5 kB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.4277, allocations: 143.3 kB / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.811e-05/0.4278, allocations: 36 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.556e-05/0.4278, allocations: 32 kB / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.4279, allocations: 87.7 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.4281, allocations: 127.3 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005976/0.4287, allocations: 462.1 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4287, allocations: 4 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4287, allocations: 0 / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.546e-05/0.4287, allocations: 0 / 1.328 GB, free: 15.44 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.001/0.4297, allocations: 0.5324 MB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.4298, allocations: 8.031 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.4299, allocations: 44.66 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/0.4304, allocations: 267.2 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-05/0.4305, allocations: 37.02 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/0.4306, allocations: 28.38 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007334/0.4313, allocations: 404.2 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.4313, allocations: 4.188 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.4313, allocations: 19.94 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.4314, allocations: 8 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005241/0.4319, allocations: 299.4 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.4335, allocations: 0.8455 MB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.4337, allocations: 81.22 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.787e-05/0.4338, allocations: 45.78 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.4338, allocations: 4 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.4339, allocations: 38.5 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.4339, allocations: 4 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003856/0.4343, allocations: 149.5 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.4343, allocations: 88.98 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/0.4348, allocations: 345.5 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.4348, allocations: 29.7 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.435, allocations: 212.3 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.435, allocations: 15.94 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.4351, allocations: 77.62 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.4353, allocations: 330.8 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.4354, allocations: 67.94 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.4356, allocations: 89.58 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.4358, allocations: 117.6 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4358, allocations: 0 / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000333/0.4361, allocations: 193.5 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.4361, allocations: 8 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.4361, allocations: 3.984 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.4361, allocations: 0 / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.4363, allocations: 31.94 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.4363, allocations: 3.938 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.138e-05/0.4364, allocations: 31.77 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.4364, allocations: 8 kB / 1.332 GB, free: 10.81 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.0002626/0.4367, allocations: 204.2 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/0.4368, allocations: 15.91 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.437, allocations: 108.6 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.437, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.437, allocations: 3.938 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.437, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006744/0.4377, allocations: 0.5552 MB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4377, allocations: 3.984 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.4377, allocations: 4 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/0.4378, allocations: 11.88 kB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.4378, allocations: 0 / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4378, allocations: 0 / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4378, allocations: 4 kB / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.4379, allocations: 111.6 kB / 1.333 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.438, allocations: 31.73 kB / 1.333 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.438, allocations: 4.125 kB / 1.333 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.099e-05/0.438, allocations: 7.984 kB / 1.333 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.4381, allocations: 7.938 kB / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.4381, allocations: 0 / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002761/0.4384, allocations: 241.2 kB / 1.333 GB, free: 9.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4384, allocations: 0 / 1.333 GB, free: 9.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002771/0.4386, allocations: 55.73 kB / 1.334 GB, free: 9.355 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.0001512/0.4388, allocations: 103.2 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.439, allocations: 99.88 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.439, allocations: 4.469 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.131e-05/0.4391, allocations: 19.94 kB / 1.334 GB, free: 9.125 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.4393, allocations: 34.33 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00089/0.4402, allocations: 473.9 kB / 1.334 GB, free: 8.602 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.4405, allocations: 195.2 kB / 1.334 GB, free: 8.391 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001165/0.4406, allocations: 41.61 kB / 1.334 GB, free: 8.352 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.4407, allocations: 15.44 kB / 1.334 GB, free: 8.336 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/0.4407, allocations: 0 / 1.334 GB, free: 8.336 MB / 1.029 GB Notification: Performance of Templates: time 0.005583/0.4462, allocations: 1.335 MB / 1.336 GB, free: 7.016 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 -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.703503718599677]