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.001613/0.001613, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002017/0.002017, allocations: 218.3 kB / 23.01 MB, free: 4.609 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.298/3.298, allocations: 0.505 GB / 0.8108 GB, free: 22.06 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.002144/0.002144, allocations: 65.81 kB / 1.178 GB, free: 16.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3259, allocations: 180.2 MB / 1.354 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002449/0.3284, allocations: 1.165 MB / 1.355 GB, free: 6.762 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002102/0.3305, allocations: 1.541 MB / 1.357 GB, free: 5.207 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.911e-05/0.3306, allocations: 4 kB / 1.357 GB, free: 5.203 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.3307, allocations: 31.61 kB / 1.357 GB, free: 5.172 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.3308, allocations: 71.44 kB / 1.357 GB, free: 5.102 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.3319, allocations: 0.4887 MB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006446/0.3326, allocations: 0.5777 MB / 1.358 GB, free: 4.047 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002452/0.3328, allocations: 104.9 kB / 1.358 GB, free: 3.945 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002535/0.3331, allocations: 235.4 kB / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.3334, allocations: 215.2 kB / 1.358 GB, free: 3.504 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.825e-05/0.3335, allocations: 60 kB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.3336, allocations: 79.92 kB / 1.359 GB, free: 3.367 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.368e-05/0.3337, allocations: 79.69 kB / 1.359 GB, free: 3.289 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.3339, allocations: 219.1 kB / 1.359 GB, free: 3.074 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000652/0.3346, allocations: 0.6268 MB / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3346, allocations: 0 / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3346, allocations: 3.938 kB / 1.359 GB, free: 2.441 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.3346, allocations: 0 / 1.359 GB, free: 2.441 MB / 1.045 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.0009398/0.3355, allocations: 0.6834 MB / 1.36 GB, free: 1.699 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3356, allocations: 8.031 kB / 1.36 GB, free: 1.691 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.3357, allocations: 48.7 kB / 1.36 GB, free: 1.645 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009693/0.3366, allocations: 341.8 kB / 1.36 GB, free: 1.285 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.3367, allocations: 24.81 kB / 1.361 GB, free: 1.262 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/0.3368, allocations: 28.38 kB / 1.361 GB, free: 1.234 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004248/0.3372, allocations: 255.8 kB / 1.361 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3372, allocations: 7.875 kB / 1.361 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.3372, allocations: 7.984 kB / 1.361 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3372, allocations: 8 kB / 1.361 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.3375, allocations: 157.6 kB / 1.361 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.3389, allocations: 0.825 MB / 1.362 GB, free: 15.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.3392, allocations: 202.7 kB / 1.362 GB, free: 15.72 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.3395, allocations: 192.7 kB / 1.362 GB, free: 15.53 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.3395, allocations: 8 kB / 1.362 GB, free: 15.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003637/0.3399, allocations: 251.8 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.3399, allocations: 0 / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=28): time 0.0007424/0.3406, allocations: 435.1 kB / 1.363 GB, free: 14.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.113e-05/0.3407, allocations: 110.8 kB / 1.363 GB, free: 14.69 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/0.341, allocations: 328.3 kB / 1.363 GB, free: 14.35 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.3411, allocations: 37.7 kB / 1.363 GB, free: 14.31 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.3413, allocations: 192.6 kB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.467e-05/0.3413, allocations: 59.58 kB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.3415, allocations: 146 kB / 1.364 GB, free: 13.91 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3417, allocations: 338.8 kB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.3421, allocations: 212.7 kB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.3426, allocations: 332.6 kB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006745/0.3432, allocations: 0.5272 MB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.3432, allocations: 4 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001174/0.3444, allocations: 0.7482 MB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.3445, allocations: 126.8 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.3445, allocations: 4 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3445, allocations: 4 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.3447, allocations: 63.84 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.3448, allocations: 11.92 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006331/0.3454, allocations: 128 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.3455, allocations: 63.92 kB / 1.366 GB, free: 11.2 MB / 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.0002429/0.3457, allocations: 198.3 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/0.3458, allocations: 31.81 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005595/0.3463, allocations: 361.3 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.3464, allocations: 8 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3464, allocations: 3.938 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3464, allocations: 0 / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009667/0.3473, allocations: 0.7131 MB / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3473, allocations: 0 / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.3475, allocations: 47.84 kB / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3475, allocations: 0 / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.3475, allocations: 11.94 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3475, allocations: 0 / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3475, allocations: 4 kB / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005203/0.348, allocations: 444.9 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.3481, allocations: 39.64 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.3481, allocations: 11.98 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.3483, allocations: 8 kB / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.3483, allocations: 23.95 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.3483, allocations: 12 kB / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002263/0.3485, allocations: 215.1 kB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3485, allocations: 3.938 kB / 1.368 GB, free: 9.016 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004281/0.349, allocations: 103.9 kB / 1.368 GB, free: 8.914 MB / 1.061 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.0001945/0.3492, allocations: 121.2 kB / 1.368 GB, free: 8.781 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000872/0.35, allocations: 0.6187 MB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.35, allocations: 0 / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.3502, allocations: 127.9 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.3508, allocations: 73.42 kB / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009692/0.3517, allocations: 0.6168 MB / 1.37 GB, free: 7.266 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.3521, allocations: 0.7769 MB / 1.371 GB, free: 6.461 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.324e-05/0.3522, allocations: 35.44 kB / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.3522, allocations: 0 / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of Templates: time 0.008254/0.3605, allocations: 5.003 MB / 1.375 GB, free: 1.457 MB / 1.061 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/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: 12.082203233992914]