Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.001858/0.001858, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002522/0.002522, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.586/1.586, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.572/3.572, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [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.002393/0.002393, allocations: 68.09 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4317, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002673/0.4344, allocations: 1.095 MB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002275/0.4367, allocations: 1.522 MB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.971e-05/0.4368, allocations: 7.938 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.4369, allocations: 31.61 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.4371, allocations: 71.48 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.4383, allocations: 493 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007301/0.439, allocations: 0.5816 MB / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000327/0.4393, allocations: 100.9 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000352/0.4397, allocations: 231.5 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003848/0.4401, allocations: 191.2 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.4402, allocations: 60 kB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.4404, allocations: 71.98 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.4405, allocations: 71.77 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002586/0.4407, allocations: 211.2 kB / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007231/0.4415, allocations: 0.6229 MB / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4415, allocations: 0 / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4415, allocations: 0 / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.4415, allocations: 0 / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001044/0.4425, allocations: 0.6833 MB / 1.37 GB, free: 7.496 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.4426, allocations: 8.031 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.4427, allocations: 48.7 kB / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.4437, allocations: 341.8 kB / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.4438, allocations: 24.81 kB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-05/0.4439, allocations: 32.38 kB / 1.37 GB, free: 7.031 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006016/0.4445, allocations: 380.3 kB / 1.371 GB, free: 6.625 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.4445, allocations: 3.938 kB / 1.371 GB, free: 6.621 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.4445, allocations: 15.98 kB / 1.371 GB, free: 6.605 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.4445, allocations: 7.984 kB / 1.371 GB, free: 6.598 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002713/0.4448, allocations: 149.7 kB / 1.371 GB, free: 6.453 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.4462, allocations: 0.6929 MB / 1.371 GB, free: 5.727 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.4465, allocations: 206.7 kB / 1.372 GB, free: 5.516 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.4468, allocations: 192.8 kB / 1.372 GB, free: 5.324 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.4468, allocations: 0 / 1.372 GB, free: 5.324 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004318/0.4473, allocations: 354.6 kB / 1.372 GB, free: 4.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.4473, allocations: 3.938 kB / 1.372 GB, free: 4.926 MB / 1.061 GB Notification: Performance of matching and sorting (n=28): time 0.000746/0.448, allocations: 431.2 kB / 1.372 GB, free: 4.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.38e-05/0.4481, allocations: 110.8 kB / 1.373 GB, free: 4.367 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.4485, allocations: 332.2 kB / 1.373 GB, free: 4.039 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.009e-05/0.4485, allocations: 37.7 kB / 1.373 GB, free: 3.996 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.4487, allocations: 176.8 kB / 1.373 GB, free: 3.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/0.4488, allocations: 63.52 kB / 1.373 GB, free: 3.758 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.449, allocations: 150 kB / 1.373 GB, free: 3.602 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.4492, allocations: 342.8 kB / 1.374 GB, free: 3.258 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004802/0.4497, allocations: 335.5 kB / 1.374 GB, free: 2.906 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000611/0.4503, allocations: 0.4991 MB / 1.374 GB, free: 2.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007176/0.451, allocations: 0.5311 MB / 1.375 GB, free: 1.719 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.451, allocations: 0 / 1.375 GB, free: 1.719 MB / 1.061 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001243/0.4522, allocations: 0.8682 MB / 1.376 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.4523, allocations: 126.8 kB / 1.376 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.4524, allocations: 4.406 kB / 1.376 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.4524, allocations: 8 kB / 1.376 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.4526, allocations: 59.91 kB / 1.376 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.4526, allocations: 7.984 kB / 1.376 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006372/0.4532, allocations: 131.5 kB / 1.376 GB, free: 452 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.4533, allocations: 71.86 kB / 1.376 GB, free: 380 kB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002372/0.4536, allocations: 193.7 kB / 1.376 GB, free: 180 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.018e-05/0.4536, allocations: 35.77 kB / 1.376 GB, free: 144 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006014/0.4542, allocations: 360.6 kB / 1.377 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4542, allocations: 3.938 kB / 1.377 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4542, allocations: 0 / 1.377 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.4542, allocations: 11.92 kB / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.4553, allocations: 0.6511 MB / 1.377 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4553, allocations: 0 / 1.377 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.4554, allocations: 39.92 kB / 1.377 GB, free: 15.03 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.4554, allocations: 4 kB / 1.377 GB, free: 15.03 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.4555, allocations: 15.92 kB / 1.377 GB, free: 15.01 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.4555, allocations: 4 kB / 1.377 GB, free: 15.01 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4555, allocations: 0 / 1.377 GB, free: 15.01 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/0.4561, allocations: 436.9 kB / 1.378 GB, free: 14.56 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.4561, allocations: 31.75 kB / 1.378 GB, free: 14.53 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.4562, allocations: 7.938 kB / 1.378 GB, free: 14.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.4563, allocations: 11.98 kB / 1.378 GB, free: 14.51 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.4564, allocations: 19.97 kB / 1.378 GB, free: 14.49 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.4564, allocations: 15.98 kB / 1.378 GB, free: 14.48 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002428/0.4566, allocations: 211.1 kB / 1.378 GB, free: 14.27 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4566, allocations: 3.938 kB / 1.378 GB, free: 14.27 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004081/0.457, allocations: 95.89 kB / 1.378 GB, free: 14.17 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002335/0.4573, allocations: 121.2 kB / 1.378 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.4583, allocations: 0.739 MB / 1.379 GB, free: 13.23 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4583, allocations: 0 / 1.379 GB, free: 13.23 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.4585, allocations: 135.9 kB / 1.379 GB, free: 13.1 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000494/0.459, allocations: 82.62 kB / 1.379 GB, free: 13.02 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009217/0.4599, allocations: 0.5801 MB / 1.38 GB, free: 12.42 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.4601, allocations: 166.5 kB / 1.38 GB, free: 12.24 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001567/0.4603, allocations: 71.23 kB / 1.38 GB, free: 12.17 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.088e-05/0.4603, allocations: 35.42 kB / 1.38 GB, free: 12.13 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/0.4603, allocations: 4 kB / 1.38 GB, free: 12.13 MB / 1.076 GB Notification: Performance of Templates: time 0.01192/0.4722, allocations: 6.143 MB / 1.386 GB, free: 6.109 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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: 10.091755200177431]