Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.001749/0.001749, allocations: 114.2 kB / 18.94 MB, free: 2.953 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.002158/0.002158, allocations: 187.7 kB / 22.23 MB, free: 5.137 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.533/1.533, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.713/2.713, allocations: 443.4 MB / 0.7321 GB, free: 12.31 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.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_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 71.88 kB / 1.061 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 160.8 MB / 1.218 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.003086/1.013, allocations: 1.154 MB / 1.22 GB, free: 2.84 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002721/1.016, allocations: 1.53 MB / 1.221 GB, free: 1.598 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/1.016, allocations: 3.219 kB / 1.221 GB, free: 1.598 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002181/1.016, allocations: 32.58 kB / 1.221 GB, free: 1.566 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002336/1.016, allocations: 67.94 kB / 1.221 GB, free: 1.508 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/1.018, allocations: 491.3 kB / 1.222 GB, free: 1.172 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001099/1.019, allocations: 0.5874 MB / 1.222 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003574/1.019, allocations: 108.8 kB / 1.222 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005516/1.02, allocations: 238.6 kB / 1.223 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005605/1.021, allocations: 219.3 kB / 1.223 GB, free: 452 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002611/1.021, allocations: 63.75 kB / 1.223 GB, free: 448 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/1.021, allocations: 70.16 kB / 1.223 GB, free: 444 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001513/1.021, allocations: 75.48 kB / 1.223 GB, free: 388 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004625/1.022, allocations: 233.3 kB / 1.223 GB, free: 212 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/1.023, allocations: 0.6167 MB / 1.224 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.023, allocations: 0.8125 kB / 1.224 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.944e-06/1.023, allocations: 0 / 1.224 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.692e-05/1.023, allocations: 8.688 kB / 1.224 GB, free: 15.71 MB / 0.9356 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.001645/1.024, allocations: 0.7607 MB / 1.225 GB, free: 15 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/1.024, allocations: 9.812 kB / 1.225 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/1.025, allocations: 50.39 kB / 1.225 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/1.026, allocations: 399.9 kB / 1.225 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.194e-05/1.026, allocations: 28.25 kB / 1.225 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.018e-05/1.026, allocations: 36.16 kB / 1.225 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005518/1.027, allocations: 253.2 kB / 1.225 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/1.027, allocations: 7.922 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/1.027, allocations: 6.625 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/1.027, allocations: 5.531 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/1.027, allocations: 163.2 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/1.029, allocations: 0.8456 MB / 1.226 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/1.029, allocations: 206.4 kB / 1.226 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/1.03, allocations: 197.3 kB / 1.227 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/1.03, allocations: 1.406 kB / 1.227 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004057/1.03, allocations: 254.7 kB / 1.227 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 2.204e-06/1.03, allocations: 0 / 1.227 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.0008285/1.031, allocations: 440.9 kB / 1.227 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.122e-05/1.031, allocations: 115.8 kB / 1.227 GB, free: 13 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004375/1.031, allocations: 335.2 kB / 1.228 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.002e-05/1.031, allocations: 38.95 kB / 1.228 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000191/1.032, allocations: 178.4 kB / 1.228 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.807e-05/1.032, allocations: 58.2 kB / 1.228 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/1.032, allocations: 145.3 kB / 1.228 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001921/1.032, allocations: 343 kB / 1.228 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/1.033, allocations: 205 kB / 1.229 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005341/1.033, allocations: 329.8 kB / 1.229 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007684/1.034, allocations: 0.5308 MB / 1.23 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.034, allocations: 1.188 kB / 1.23 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001283/1.035, allocations: 0.7525 MB / 1.23 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/1.035, allocations: 126.8 kB / 1.23 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.035, allocations: 4 kB / 1.23 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/1.035, allocations: 8 kB / 1.23 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/1.036, allocations: 55.84 kB / 1.23 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/1.036, allocations: 19.81 kB / 1.23 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007431/1.036, allocations: 131.8 kB / 1.231 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/1.036, allocations: 63.92 kB / 1.231 GB, free: 10.33 MB / 0.9356 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.0003047/1.037, allocations: 193.9 kB / 1.231 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.063e-05/1.037, allocations: 35.8 kB / 1.231 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005922/1.037, allocations: 361.3 kB / 1.231 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/1.037, allocations: 4 kB / 1.231 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/1.037, allocations: 3.938 kB / 1.231 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.708e-05/1.037, allocations: 3.984 kB / 1.231 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/1.039, allocations: 0.7486 MB / 1.232 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.039, allocations: 0 / 1.232 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/1.039, allocations: 39.86 kB / 1.232 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/1.039, allocations: 3.984 kB / 1.232 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/1.039, allocations: 8 kB / 1.232 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/1.039, allocations: 0 / 1.232 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.039, allocations: 3.984 kB / 1.232 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005599/1.039, allocations: 436.6 kB / 1.232 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/1.039, allocations: 120.7 kB / 1.233 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/1.039, allocations: 8 kB / 1.233 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/1.04, allocations: 12 kB / 1.233 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/1.04, allocations: 23.95 kB / 1.233 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/1.04, allocations: 11.98 kB / 1.233 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002385/1.04, allocations: 215.1 kB / 1.233 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.04, allocations: 0 / 1.233 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004248/1.04, allocations: 95.89 kB / 1.233 GB, free: 7.934 MB / 0.9356 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.0002378/1.041, allocations: 125.2 kB / 1.233 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009815/1.042, allocations: 0.6112 MB / 1.234 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.042, allocations: 0 / 1.234 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001987/1.042, allocations: 132 kB / 1.234 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/1.042, allocations: 79.03 kB / 1.234 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/1.043, allocations: 0.5878 MB / 1.234 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/1.044, allocations: 0.7769 MB / 1.235 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001808/1.044, allocations: 67.23 kB / 1.235 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.149e-05/1.044, allocations: 39.42 kB / 1.235 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of SimCode: time 8.02e-07/1.044, allocations: 3.938 kB / 1.235 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of Templates: time 0.01564/1.06, allocations: 5.658 MB / 1.241 GB, free: 15.82 MB / 0.9512 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.511545550078154]