Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001315/0.001315, 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.00155/0.00155, allocations: 220.5 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.16/3.16, allocations: 0.49 GB / 0.7958 GB, free: 33.37 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.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_12_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_12_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.002084/0.002084, allocations: 68.47 kB / 1.155 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3763, allocations: 176.1 MB / 1.327 GB, free: 1.621 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002598/0.3789, allocations: 1.15 MB / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002301/0.3812, allocations: 1.556 MB / 1.33 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.3813, allocations: 7.938 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.3815, allocations: 31.59 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.3816, allocations: 63.52 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.3828, allocations: 496 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006775/0.3835, allocations: 0.5855 MB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002982/0.3838, allocations: 108.8 kB / 1.331 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.384, allocations: 239.4 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.3844, allocations: 215.3 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.226e-05/0.3844, allocations: 60 kB / 1.332 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.3846, allocations: 75.97 kB / 1.332 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.3847, allocations: 79.7 kB / 1.332 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002544/0.385, allocations: 215.1 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000701/0.3857, allocations: 0.6345 MB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3857, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3857, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.3857, allocations: 0 / 1.332 GB, free: 12.12 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001064/0.3867, allocations: 0.6717 MB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3868, allocations: 12.03 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.3869, allocations: 48.7 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.3879, allocations: 333.8 kB / 1.334 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.916e-05/0.3879, allocations: 24.81 kB / 1.334 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.182e-05/0.388, allocations: 36.36 kB / 1.334 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.3885, allocations: 259.7 kB / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3885, allocations: 3.938 kB / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.3885, allocations: 7.984 kB / 1.334 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.3885, allocations: 11.98 kB / 1.334 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002814/0.3888, allocations: 153.7 kB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.3902, allocations: 0.8132 MB / 1.335 GB, free: 9.633 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.3906, allocations: 212.3 kB / 1.335 GB, free: 9.418 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.3909, allocations: 194.7 kB / 1.335 GB, free: 9.227 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.3909, allocations: 4 kB / 1.335 GB, free: 9.223 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000406/0.3913, allocations: 256.5 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.453e-06/0.3913, allocations: 0 / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.0007611/0.3921, allocations: 435.1 kB / 1.336 GB, free: 8.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.3922, allocations: 110.8 kB / 1.336 GB, free: 8.387 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.3925, allocations: 332.3 kB / 1.336 GB, free: 8.055 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.066e-05/0.3926, allocations: 37.7 kB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.3928, allocations: 184.7 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.621e-05/0.3928, allocations: 59.58 kB / 1.337 GB, free: 7.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.393, allocations: 142 kB / 1.337 GB, free: 7.621 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.3932, allocations: 342.8 kB / 1.337 GB, free: 7.277 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.3936, allocations: 204.7 kB / 1.337 GB, free: 7.078 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000488/0.3941, allocations: 336.9 kB / 1.338 GB, free: 6.703 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000713/0.3948, allocations: 0.531 MB / 1.338 GB, free: 6.102 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3948, allocations: 4 kB / 1.338 GB, free: 6.098 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001187/0.396, allocations: 0.7372 MB / 1.339 GB, free: 5.332 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.3961, allocations: 128.8 kB / 1.339 GB, free: 5.184 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.3961, allocations: 8.344 kB / 1.339 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.3961, allocations: 8 kB / 1.339 GB, free: 5.168 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.3963, allocations: 59.84 kB / 1.339 GB, free: 5.109 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.3964, allocations: 7.938 kB / 1.339 GB, free: 5.102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006434/0.397, allocations: 135.5 kB / 1.339 GB, free: 4.969 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.3971, allocations: 67.86 kB / 1.339 GB, free: 4.902 MB / 1.029 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.0002279/0.3973, allocations: 185.8 kB / 1.339 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.3974, allocations: 39.77 kB / 1.339 GB, free: 4.672 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005636/0.398, allocations: 361.6 kB / 1.34 GB, free: 4.309 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.398, allocations: 7.938 kB / 1.34 GB, free: 4.301 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.398, allocations: 3.938 kB / 1.34 GB, free: 4.297 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.398, allocations: 3.984 kB / 1.34 GB, free: 4.293 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009886/0.399, allocations: 0.7164 MB / 1.34 GB, free: 3.527 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.399, allocations: 4 kB / 1.34 GB, free: 3.523 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.3991, allocations: 35.92 kB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.3991, allocations: 4 kB / 1.34 GB, free: 3.484 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.3991, allocations: 8 kB / 1.34 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3991, allocations: 3.938 kB / 1.34 GB, free: 3.473 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3991, allocations: 0 / 1.34 GB, free: 3.473 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005473/0.3997, allocations: 444.7 kB / 1.341 GB, free: 3.023 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.3997, allocations: 35.64 kB / 1.341 GB, free: 2.988 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.3998, allocations: 15.98 kB / 1.341 GB, free: 2.973 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.3999, allocations: 8 kB / 1.341 GB, free: 2.965 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.4, allocations: 27.89 kB / 1.341 GB, free: 2.938 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.4, allocations: 12 kB / 1.341 GB, free: 2.926 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002395/0.4002, allocations: 215 kB / 1.341 GB, free: 2.715 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4002, allocations: 0 / 1.341 GB, free: 2.715 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000433/0.4006, allocations: 91.94 kB / 1.341 GB, free: 2.625 MB / 1.029 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.0001913/0.4008, allocations: 125.2 kB / 1.341 GB, free: 2.488 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000913/0.4017, allocations: 0.6105 MB / 1.342 GB, free: 1.828 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4018, allocations: 0 / 1.342 GB, free: 1.828 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.402, allocations: 131.8 kB / 1.342 GB, free: 1.699 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005294/0.4025, allocations: 89.72 kB / 1.342 GB, free: 1.613 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.4036, allocations: 0.6156 MB / 1.343 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004797/0.4041, allocations: 0.7769 MB / 1.344 GB, free: 164 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.65e-05/0.4041, allocations: 39.42 kB / 1.344 GB, free: 124 kB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.4041, allocations: 0 / 1.344 GB, free: 124 kB / 1.029 GB Notification: Performance of Templates: time 0.008231/0.4124, allocations: 4.998 MB / 1.348 GB, free: 11.15 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.488034778012661]