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.001676/0.001676, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.002266/0.002266, allocations: 161.3 kB / 23.01 MB, free: 4.602 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.651/1.651, allocations: 177.2 MB / 203.4 MB, free: 8.895 MB / 190.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 2.869/2.869, allocations: 394.2 MB / 0.6386 GB, free: 11.91 MB / 0.6075 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.002308/0.002308, allocations: 71.89 kB / 1.009 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.018, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002742/1.02, allocations: 1.092 MB / 1.188 GB, free: 15.52 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002146/1.023, allocations: 1.528 MB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/1.023, allocations: 7.406 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001528/1.023, allocations: 30.52 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001665/1.023, allocations: 59.45 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001282/1.024, allocations: 498 kB / 1.19 GB, free: 14.08 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008811/1.025, allocations: 0.5881 MB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/1.025, allocations: 99.34 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003702/1.026, allocations: 228.3 kB / 1.191 GB, free: 13.64 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004016/1.026, allocations: 195.7 kB / 1.191 GB, free: 13.55 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001631/1.026, allocations: 60.16 kB / 1.191 GB, free: 13.55 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/1.027, allocations: 68.84 kB / 1.191 GB, free: 13.55 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.574e-05/1.027, allocations: 85.7 kB / 1.191 GB, free: 13.5 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002814/1.027, allocations: 195.8 kB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000843/1.028, allocations: 0.63 MB / 1.192 GB, free: 13.16 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.028, allocations: 1.375 kB / 1.192 GB, free: 13.16 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.372e-06/1.028, allocations: 0 / 1.192 GB, free: 13.16 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.821e-05/1.028, allocations: 4 kB / 1.192 GB, free: 13.15 MB / 1.076 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.001068/1.029, allocations: 0.6711 MB / 1.192 GB, free: 12.59 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/1.029, allocations: 9.375 kB / 1.192 GB, free: 12.59 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/1.029, allocations: 47.62 kB / 1.193 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/1.03, allocations: 327.8 kB / 1.193 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.545e-05/1.03, allocations: 29.73 kB / 1.193 GB, free: 12.35 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.697e-05/1.03, allocations: 41.14 kB / 1.193 GB, free: 12.34 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005013/1.031, allocations: 382.9 kB / 1.193 GB, free: 12.08 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/1.031, allocations: 3.938 kB / 1.193 GB, free: 12.08 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/1.031, allocations: 11.94 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/1.031, allocations: 4.906 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/1.031, allocations: 157.3 kB / 1.193 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/1.032, allocations: 0.6838 MB / 1.194 GB, free: 11.62 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/1.033, allocations: 212.6 kB / 1.194 GB, free: 11.55 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/1.033, allocations: 197.2 kB / 1.194 GB, free: 11.49 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/1.033, allocations: 2.062 kB / 1.194 GB, free: 11.49 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003404/1.033, allocations: 351.2 kB / 1.195 GB, free: 11.24 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 1.804e-06/1.033, allocations: 0 / 1.195 GB, free: 11.24 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.0007241/1.034, allocations: 432.1 kB / 1.195 GB, free: 11.1 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/1.034, allocations: 112.7 kB / 1.195 GB, free: 10.97 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/1.035, allocations: 330.3 kB / 1.196 GB, free: 10.78 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/1.035, allocations: 46.16 kB / 1.196 GB, free: 10.74 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/1.035, allocations: 175.6 kB / 1.196 GB, free: 10.59 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/1.035, allocations: 61.69 kB / 1.196 GB, free: 10.55 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/1.035, allocations: 146.4 kB / 1.196 GB, free: 10.49 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.465e-05/1.035, allocations: 345 kB / 1.196 GB, free: 10.16 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/1.035, allocations: 335.8 kB / 1.197 GB, free: 9.961 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004604/1.036, allocations: 0.4964 MB / 1.197 GB, free: 9.555 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005978/1.036, allocations: 0.528 MB / 1.198 GB, free: 9.184 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/1.036, allocations: 1.5 kB / 1.198 GB, free: 9.184 MB / 1.076 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001152/1.038, allocations: 0.8719 MB / 1.199 GB, free: 8.684 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.196e-05/1.038, allocations: 125.2 kB / 1.199 GB, free: 8.555 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.038, allocations: 3.625 kB / 1.199 GB, free: 8.555 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/1.038, allocations: 4.75 kB / 1.199 GB, free: 8.555 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/1.038, allocations: 55.3 kB / 1.199 GB, free: 8.551 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/1.038, allocations: 6.344 kB / 1.199 GB, free: 8.551 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007406/1.039, allocations: 142.6 kB / 1.199 GB, free: 8.508 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/1.039, allocations: 73.19 kB / 1.199 GB, free: 8.496 MB / 1.076 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.0002121/1.039, allocations: 187.6 kB / 1.199 GB, free: 8.352 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/1.039, allocations: 35.75 kB / 1.199 GB, free: 8.332 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000557/1.04, allocations: 360.9 kB / 1.2 GB, free: 8.191 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.04, allocations: 3.188 kB / 1.2 GB, free: 8.191 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.04, allocations: 4.609 kB / 1.2 GB, free: 8.188 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/1.04, allocations: 6.234 kB / 1.2 GB, free: 8.184 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008701/1.041, allocations: 0.6629 MB / 1.2 GB, free: 7.801 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.041, allocations: 0 / 1.2 GB, free: 7.801 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/1.041, allocations: 37.73 kB / 1.2 GB, free: 7.797 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/1.041, allocations: 1.062 kB / 1.2 GB, free: 7.797 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/1.041, allocations: 11.89 kB / 1.2 GB, free: 7.789 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/1.041, allocations: 2.266 kB / 1.2 GB, free: 7.789 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.041, allocations: 5.266 kB / 1.2 GB, free: 7.785 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/1.041, allocations: 440.7 kB / 1.201 GB, free: 7.547 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/1.041, allocations: 26.22 kB / 1.201 GB, free: 7.531 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/1.041, allocations: 16.55 kB / 1.201 GB, free: 7.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/1.041, allocations: 10.25 kB / 1.201 GB, free: 7.516 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/1.042, allocations: 21.47 kB / 1.201 GB, free: 7.512 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/1.042, allocations: 13.12 kB / 1.201 GB, free: 7.508 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002231/1.042, allocations: 209.9 kB / 1.201 GB, free: 7.391 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.042, allocations: 0 / 1.201 GB, free: 7.391 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004876/1.042, allocations: 94.91 kB / 1.201 GB, free: 7.375 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.0001714/1.042, allocations: 125.6 kB / 1.201 GB, free: 7.27 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009518/1.043, allocations: 0.742 MB / 1.202 GB, free: 6.758 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.043, allocations: 1.625 kB / 1.202 GB, free: 6.758 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/1.044, allocations: 132.5 kB / 1.202 GB, free: 6.723 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005483/1.044, allocations: 79.8 kB / 1.202 GB, free: 6.695 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/1.045, allocations: 0.5757 MB / 1.203 GB, free: 6.371 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/1.045, allocations: 176.7 kB / 1.203 GB, free: 6.277 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001878/1.046, allocations: 69.8 kB / 1.203 GB, free: 6.27 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.776e-05/1.046, allocations: 35.73 kB / 1.203 GB, free: 6.262 MB / 1.076 GB Notification: Performance of SimCode: time 6.81e-07/1.046, allocations: 0 / 1.203 GB, free: 6.262 MB / 1.076 GB Notification: Performance of Templates: time 0.01358/1.059, allocations: 5.936 MB / 1.209 GB, free: 5.523 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.586754176998511]