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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 104.1 kB / 16.4 MB, free: 6.512 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 198.7 kB / 19.35 MB, free: 3.73 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.787/2.787, allocations: 437 MB / 0.717 GB, free: 4.121 MB / 0.5762 GB [Timeout remaining time 86] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=514,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=514,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.002674/0.002675, allocations: 79.88 kB / 1.027 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.07, allocations: 151.6 MB / 1.175 GB, free: 17.93 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002888/1.073, allocations: 1.153 MB / 1.176 GB, free: 17.17 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00306/1.076, allocations: 1.513 MB / 1.178 GB, free: 16.06 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003707/1.077, allocations: 3.594 kB / 1.178 GB, free: 16.06 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002617/1.077, allocations: 33.53 kB / 1.178 GB, free: 16.04 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002366/1.077, allocations: 48.38 kB / 1.178 GB, free: 16 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001554/1.079, allocations: 497.5 kB / 1.178 GB, free: 15.74 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001041/1.08, allocations: 0.6236 MB / 1.179 GB, free: 15.45 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003564/1.08, allocations: 147.3 kB / 1.179 GB, free: 15.38 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004583/1.081, allocations: 230.9 kB / 1.179 GB, free: 15.27 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005257/1.081, allocations: 219.8 kB / 1.179 GB, free: 15.16 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002417/1.081, allocations: 59.62 kB / 1.18 GB, free: 15.16 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/1.082, allocations: 69.23 kB / 1.18 GB, free: 15.16 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/1.082, allocations: 75.59 kB / 1.18 GB, free: 15.12 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003759/1.082, allocations: 224.8 kB / 1.18 GB, free: 14.98 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/1.083, allocations: 0.6291 MB / 1.181 GB, free: 14.76 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.083, allocations: 1.438 kB / 1.181 GB, free: 14.76 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.076e-06/1.083, allocations: 0 / 1.181 GB, free: 14.76 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.096e-05/1.083, allocations: 0 / 1.181 GB, free: 14.76 MB / 0.92 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.001015/1.084, allocations: 0.755 MB / 1.181 GB, free: 14.1 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.084, allocations: 10.3 kB / 1.181 GB, free: 14.1 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/1.084, allocations: 47.7 kB / 1.181 GB, free: 14.08 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/1.085, allocations: 412 kB / 1.182 GB, free: 13.78 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/1.085, allocations: 25.22 kB / 1.182 GB, free: 13.77 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.37e-05/1.086, allocations: 41.17 kB / 1.182 GB, free: 13.76 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004968/1.086, allocations: 253.5 kB / 1.182 GB, free: 13.66 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/1.086, allocations: 3.938 kB / 1.182 GB, free: 13.66 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/1.086, allocations: 11.64 kB / 1.182 GB, free: 13.65 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/1.086, allocations: 4.969 kB / 1.182 GB, free: 13.65 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/1.086, allocations: 162 kB / 1.182 GB, free: 13.61 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/1.088, allocations: 0.8412 MB / 1.183 GB, free: 13.11 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/1.088, allocations: 218 kB / 1.183 GB, free: 13.03 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/1.089, allocations: 210.3 kB / 1.183 GB, free: 12.97 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/1.089, allocations: 2.531 kB / 1.183 GB, free: 12.97 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000375/1.089, allocations: 250.9 kB / 1.184 GB, free: 12.84 MB / 0.92 GB Notification: Performance of pre-optimization done (n=28): time 1.733e-06/1.089, allocations: 1.25 kB / 1.184 GB, free: 12.84 MB / 0.92 GB Notification: Performance of matching and sorting (n=28): time 0.0008346/1.09, allocations: 433.9 kB / 1.184 GB, free: 12.7 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/1.09, allocations: 124.8 kB / 1.184 GB, free: 12.56 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003958/1.09, allocations: 323.8 kB / 1.184 GB, free: 12.38 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.566e-05/1.09, allocations: 42.78 kB / 1.185 GB, free: 12.34 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/1.091, allocations: 175.6 kB / 1.185 GB, free: 12.2 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/1.091, allocations: 61.75 kB / 1.185 GB, free: 12.15 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/1.091, allocations: 145.9 kB / 1.185 GB, free: 12.09 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.257e-05/1.091, allocations: 349.5 kB / 1.185 GB, free: 11.76 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/1.091, allocations: 208.6 kB / 1.185 GB, free: 11.7 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004394/1.092, allocations: 328.4 kB / 1.186 GB, free: 11.49 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006091/1.092, allocations: 0.5283 MB / 1.186 GB, free: 11.11 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.092, allocations: 1.406 kB / 1.186 GB, free: 11.11 MB / 0.92 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001217/1.094, allocations: 0.7398 MB / 1.187 GB, free: 10.76 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.614e-05/1.094, allocations: 125.2 kB / 1.187 GB, free: 10.63 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.094, allocations: 3.281 kB / 1.187 GB, free: 10.63 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/1.094, allocations: 5.625 kB / 1.187 GB, free: 10.63 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/1.094, allocations: 58.69 kB / 1.187 GB, free: 10.62 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/1.094, allocations: 17.22 kB / 1.187 GB, free: 10.61 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007324/1.095, allocations: 128.6 kB / 1.187 GB, free: 10.58 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/1.095, allocations: 64.05 kB / 1.187 GB, free: 10.58 MB / 0.92 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.0002039/1.095, allocations: 195.2 kB / 1.188 GB, free: 10.42 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/1.095, allocations: 31.83 kB / 1.188 GB, free: 10.41 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005669/1.096, allocations: 369.1 kB / 1.188 GB, free: 10.26 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/1.096, allocations: 2.5 kB / 1.188 GB, free: 10.26 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.096, allocations: 5.156 kB / 1.188 GB, free: 10.26 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/1.096, allocations: 1.969 kB / 1.188 GB, free: 10.26 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009119/1.097, allocations: 0.747 MB / 1.189 GB, free: 9.805 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.097, allocations: 4.641 kB / 1.189 GB, free: 9.801 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/1.097, allocations: 44.36 kB / 1.189 GB, free: 9.789 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/1.097, allocations: 1.875 kB / 1.189 GB, free: 9.789 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/1.097, allocations: 7.594 kB / 1.189 GB, free: 9.785 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.097, allocations: 5.469 kB / 1.189 GB, free: 9.781 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.097, allocations: 2.016 kB / 1.189 GB, free: 9.781 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/1.097, allocations: 433 kB / 1.189 GB, free: 9.551 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-05/1.098, allocations: 116 kB / 1.189 GB, free: 9.43 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/1.098, allocations: 7.047 kB / 1.189 GB, free: 9.426 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/1.098, allocations: 10.31 kB / 1.189 GB, free: 9.422 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/1.098, allocations: 25.62 kB / 1.189 GB, free: 9.414 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/1.098, allocations: 18.17 kB / 1.189 GB, free: 9.406 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002147/1.098, allocations: 213.6 kB / 1.19 GB, free: 9.293 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.61e-07/1.098, allocations: 0 / 1.19 GB, free: 9.293 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004888/1.099, allocations: 98.47 kB / 1.19 GB, free: 9.273 MB / 0.92 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.0001818/1.099, allocations: 117.3 kB / 1.19 GB, free: 9.18 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009167/1.1, allocations: 0.6758 MB / 1.19 GB, free: 8.777 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.1, allocations: 0 / 1.19 GB, free: 8.777 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/1.1, allocations: 146.6 kB / 1.191 GB, free: 8.738 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/1.1, allocations: 88.66 kB / 1.191 GB, free: 8.703 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/1.102, allocations: 0.5794 MB / 1.191 GB, free: 8.371 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/1.102, allocations: 0.7764 MB / 1.192 GB, free: 7.664 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002121/1.102, allocations: 71.5 kB / 1.192 GB, free: 7.66 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.304e-05/1.102, allocations: 39.12 kB / 1.192 GB, free: 7.648 MB / 0.92 GB Notification: Performance of SimCode: time 9.52e-07/1.102, allocations: 0 / 1.192 GB, free: 7.648 MB / 0.92 GB Notification: Performance of Templates: time 0.01469/1.117, allocations: 5.531 MB / 1.197 GB, free: 5.027 MB / 0.92 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