Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,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_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 194.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.474/2.474, allocations: 390.2 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 59.91 kB / 0.8125 GB, free: 14.42 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8508/0.8522, allocations: 140.4 MB / 0.9496 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.00245/0.8547, allocations: 1.15 MB / 0.9507 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001933/0.8567, allocations: 1.509 MB / 0.9522 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.8568, allocations: 6 kB / 0.9522 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.857, allocations: 32.67 kB / 0.9522 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.8572, allocations: 56.41 kB / 0.9523 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.8585, allocations: 487.7 kB / 0.9527 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006119/0.8591, allocations: 0.6132 MB / 0.9533 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003319/0.8594, allocations: 149.1 kB / 0.9535 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002545/0.8597, allocations: 228.5 kB / 0.9537 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.8599, allocations: 190.7 kB / 0.9539 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.86, allocations: 59.22 kB / 0.9539 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.8602, allocations: 73.92 kB / 0.954 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.58e-05/0.8603, allocations: 80 kB / 0.9541 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.8605, allocations: 224.2 kB / 0.9543 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005578/0.8611, allocations: 0.6141 MB / 0.9549 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8611, allocations: 1.312 kB / 0.9549 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8611, allocations: 0 / 0.9549 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.8611, allocations: 0 / 0.9549 GB, free: 5.383 MB / 0.7169 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.0008689/0.862, allocations: 0.7416 MB / 0.9556 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.862, allocations: 12.84 kB / 0.9556 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.8622, allocations: 44.34 kB / 0.9557 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009749/0.8632, allocations: 411.4 kB / 0.9561 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/0.8632, allocations: 28.23 kB / 0.9561 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-05/0.8633, allocations: 33.12 kB / 0.9561 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.8637, allocations: 254.6 kB / 0.9564 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.8637, allocations: 0 / 0.9564 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.8637, allocations: 8.125 kB / 0.9564 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.8638, allocations: 4.125 kB / 0.9564 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000254/0.864, allocations: 167 kB / 0.9565 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.8652, allocations: 0.8571 MB / 0.9574 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.8656, allocations: 217 kB / 0.9576 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.8659, allocations: 204.3 kB / 0.9578 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.8659, allocations: 2.969 kB / 0.9578 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003443/0.8663, allocations: 252.8 kB / 0.958 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 2.424e-06/0.8663, allocations: 3.984 kB / 0.958 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.0007705/0.867, allocations: 433.9 kB / 0.9585 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.8671, allocations: 120 kB / 0.9586 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/0.8674, allocations: 326.3 kB / 0.9589 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.431e-05/0.8675, allocations: 38.33 kB / 0.9589 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.8676, allocations: 183.3 kB / 0.9591 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.141e-05/0.8677, allocations: 53.48 kB / 0.9591 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/0.868, allocations: 145.5 kB / 0.9593 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.999e-05/0.8681, allocations: 343.5 kB / 0.9596 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.8685, allocations: 208.7 kB / 0.9598 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/0.8689, allocations: 333.3 kB / 0.9601 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005741/0.8695, allocations: 0.5305 MB / 0.9606 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.8695, allocations: 1.375 kB / 0.9606 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00111/0.8706, allocations: 0.739 MB / 0.9614 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.622e-05/0.8707, allocations: 124.5 kB / 0.9615 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.8707, allocations: 7.078 kB / 0.9615 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.8708, allocations: 9.438 kB / 0.9615 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.871, allocations: 54.39 kB / 0.9615 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.871, allocations: 13.73 kB / 0.9616 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007156/0.8718, allocations: 132.8 kB / 0.9617 GB, free: 404 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.8719, allocations: 63.48 kB / 0.9617 GB, free: 380 kB / 0.7169 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.0002137/0.8721, allocations: 190 kB / 0.9619 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.066e-05/0.8722, allocations: 34.06 kB / 0.962 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005261/0.8727, allocations: 367.5 kB / 0.9623 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.8727, allocations: 7.312 kB / 0.9623 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.8727, allocations: 1.062 kB / 0.9623 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.8727, allocations: 0 / 0.9623 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.8738, allocations: 0.7518 MB / 0.9631 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.8738, allocations: 0.8125 kB / 0.9631 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.8739, allocations: 48.25 kB / 0.9631 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.8739, allocations: 1.062 kB / 0.9631 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.874, allocations: 7.125 kB / 0.9631 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.874, allocations: 1.156 kB / 0.9631 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.874, allocations: 0 / 0.9631 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005516/0.8745, allocations: 430.1 kB / 0.9635 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.181e-05/0.8746, allocations: 101.9 kB / 0.9636 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.824e-05/0.8747, allocations: 18.02 kB / 0.9636 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.8748, allocations: 16.22 kB / 0.9637 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/0.8749, allocations: 21.34 kB / 0.9637 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.8749, allocations: 12.84 kB / 0.9637 GB, free: 15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002564/0.8752, allocations: 216.5 kB / 0.9639 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8752, allocations: 0 / 0.9639 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005678/0.8758, allocations: 90 kB / 0.964 GB, free: 14.85 MB / 0.7325 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.0002445/0.876, allocations: 138 kB / 0.9641 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001086/0.8771, allocations: 0.7042 MB / 0.9648 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.8771, allocations: 0 / 0.9648 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002305/0.8774, allocations: 152.7 kB / 0.9649 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.8779, allocations: 85.53 kB / 0.965 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.879, allocations: 0.5689 MB / 0.9656 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.8794, allocations: 0.7805 MB / 0.9663 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001844/0.8796, allocations: 74.41 kB / 0.9664 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.631e-05/0.8797, allocations: 35.88 kB / 0.9664 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of SimCode: time 4.2e-07/0.8797, allocations: 0 / 0.9664 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of Templates: time 0.01154/0.8912, allocations: 5.483 MB / 0.9718 GB, free: 10.29 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches