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.001317/0.001317, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001454/0.001454, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.182/3.182, allocations: 0.4892 GB / 0.7951 GB, free: 35.55 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.002125/0.002125, allocations: 67.89 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3441, allocations: 176.1 MB / 1.326 GB, free: 2.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.0026/0.3467, allocations: 1.084 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.349, allocations: 1.545 MB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.3492, allocations: 4 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.3493, allocations: 31.61 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.3495, allocations: 67.44 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.3508, allocations: 485.6 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008727/0.3516, allocations: 0.5933 MB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003169/0.3519, allocations: 92.89 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004059/0.3524, allocations: 235.4 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.3527, allocations: 203.1 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.3528, allocations: 60 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.353, allocations: 68 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.3531, allocations: 75.77 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.3533, allocations: 191.3 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006963/0.354, allocations: 0.6346 MB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.354, allocations: 0 / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.354, allocations: 0 / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.354, allocations: 0 / 1.332 GB, free: 12.68 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.001002/0.355, allocations: 0.6678 MB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3551, allocations: 16.02 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.3552, allocations: 52.7 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.3562, allocations: 337.8 kB / 1.333 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/0.3562, allocations: 28.8 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.662e-05/0.3563, allocations: 36.38 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004968/0.3568, allocations: 380.3 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3568, allocations: 7.938 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.3569, allocations: 4 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.3569, allocations: 12 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.3571, allocations: 157.7 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.3585, allocations: 0.6734 MB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.3588, allocations: 206.7 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.3591, allocations: 200.7 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.3591, allocations: 11.94 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004061/0.3595, allocations: 350.7 kB / 1.335 GB, free: 9.359 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.804e-06/0.3595, allocations: 0 / 1.335 GB, free: 9.359 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.000727/0.3602, allocations: 435.1 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.147e-05/0.3603, allocations: 110.8 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.3607, allocations: 320.3 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.632e-05/0.3607, allocations: 41.7 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.3609, allocations: 184.6 kB / 1.336 GB, free: 8.246 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.225e-05/0.3609, allocations: 67.42 kB / 1.336 GB, free: 8.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.3612, allocations: 146 kB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3613, allocations: 350.8 kB / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004451/0.3618, allocations: 331.5 kB / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005626/0.3623, allocations: 0.4914 MB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006739/0.363, allocations: 0.535 MB / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.363, allocations: 0 / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001244/0.3642, allocations: 0.8768 MB / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.3644, allocations: 126.8 kB / 1.338 GB, free: 5.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3644, allocations: 4 kB / 1.338 GB, free: 5.066 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.3644, allocations: 4 kB / 1.338 GB, free: 5.062 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.3646, allocations: 55.91 kB / 1.338 GB, free: 5.008 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.3646, allocations: 7.938 kB / 1.338 GB, free: 5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006462/0.3652, allocations: 135.6 kB / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.3654, allocations: 67.92 kB / 1.339 GB, free: 4.801 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.0002368/0.3656, allocations: 189.7 kB / 1.339 GB, free: 4.609 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.3656, allocations: 27.81 kB / 1.339 GB, free: 4.582 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005756/0.3662, allocations: 372.7 kB / 1.339 GB, free: 4.203 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3662, allocations: 4 kB / 1.339 GB, free: 4.199 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3662, allocations: 0 / 1.339 GB, free: 4.199 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.3662, allocations: 3.938 kB / 1.339 GB, free: 4.195 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009121/0.3671, allocations: 0.6623 MB / 1.34 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3671, allocations: 0 / 1.34 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.3673, allocations: 39.92 kB / 1.34 GB, free: 3.457 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3673, allocations: 0 / 1.34 GB, free: 3.457 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.3673, allocations: 15.88 kB / 1.34 GB, free: 3.441 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3673, allocations: 0 / 1.34 GB, free: 3.441 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3673, allocations: 0 / 1.34 GB, free: 3.441 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005077/0.3678, allocations: 436.7 kB / 1.34 GB, free: 3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.3678, allocations: 31.7 kB / 1.34 GB, free: 2.969 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.3679, allocations: 19.86 kB / 1.34 GB, free: 2.949 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.368, allocations: 8 kB / 1.34 GB, free: 2.941 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.3681, allocations: 27.95 kB / 1.34 GB, free: 2.914 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.3681, allocations: 12 kB / 1.34 GB, free: 2.902 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002166/0.3683, allocations: 203.1 kB / 1.341 GB, free: 2.703 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3683, allocations: 3.938 kB / 1.341 GB, free: 2.699 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004157/0.3687, allocations: 103.9 kB / 1.341 GB, free: 2.598 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.0001847/0.3689, allocations: 113.2 kB / 1.341 GB, free: 2.477 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009683/0.3699, allocations: 0.7461 MB / 1.342 GB, free: 1.656 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3699, allocations: 0 / 1.342 GB, free: 1.656 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.3701, allocations: 135.8 kB / 1.342 GB, free: 1.523 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.3706, allocations: 73.84 kB / 1.342 GB, free: 1.453 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009463/0.3715, allocations: 0.6117 MB / 1.342 GB, free: 0.8125 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.3717, allocations: 170.5 kB / 1.343 GB, free: 0.625 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.821e-05/0.3718, allocations: 47.36 kB / 1.343 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3718, allocations: 0 / 1.343 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of Templates: time 0.008134/0.3799, allocations: 5.013 MB / 1.347 GB, free: 11.6 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.571585800033063]