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.001789/0.001788, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.529/1.529, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.583/2.583, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8366/0.8381, allocations: 140.4 MB / 0.9491 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002357/0.8405, allocations: 1.2 MB / 0.9503 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.8422, allocations: 1.515 MB / 0.9518 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.8423, allocations: 2.812 kB / 0.9518 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.8425, allocations: 21.27 kB / 0.9518 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.8426, allocations: 39.83 kB / 0.9518 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.8437, allocations: 456.2 kB / 0.9523 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005997/0.8443, allocations: 0.6181 MB / 0.9529 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002909/0.8446, allocations: 147.9 kB / 0.953 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.8448, allocations: 228.3 kB / 0.9532 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.845, allocations: 193.7 kB / 0.9534 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.57e-05/0.8451, allocations: 60.75 kB / 0.9535 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.8453, allocations: 70.16 kB / 0.9535 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.709e-05/0.8454, allocations: 79.59 kB / 0.9536 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.8456, allocations: 221 kB / 0.9538 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005081/0.8461, allocations: 0.6187 MB / 0.9544 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.8461, allocations: 0 / 0.9544 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.714e-06/0.8461, allocations: 0 / 0.9544 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.8461, allocations: 0 / 0.9544 GB, free: 5.32 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.0008369/0.847, allocations: 0.7504 MB / 0.9552 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.847, allocations: 9.219 kB / 0.9552 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.8471, allocations: 41.59 kB / 0.9552 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009167/0.8481, allocations: 416 kB / 0.9556 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.8481, allocations: 19.06 kB / 0.9556 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.766e-05/0.8482, allocations: 39.48 kB / 0.9557 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.8486, allocations: 253.3 kB / 0.9559 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.8486, allocations: 0 / 0.9559 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.8486, allocations: 9.141 kB / 0.9559 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.8486, allocations: 4.844 kB / 0.9559 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.8489, allocations: 159.6 kB / 0.9561 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.85, allocations: 0.8601 MB / 0.9569 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.8504, allocations: 217.4 kB / 0.9571 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.8506, allocations: 208.4 kB / 0.9573 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.8507, allocations: 2.75 kB / 0.9573 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002865/0.8509, allocations: 244.1 kB / 0.9575 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 1.393e-06/0.851, allocations: 1.375 kB / 0.9575 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.0007042/0.8517, allocations: 428.6 kB / 0.958 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.8517, allocations: 127.6 kB / 0.9581 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.852, allocations: 327.4 kB / 0.9584 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.8521, allocations: 37.92 kB / 0.9584 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.8522, allocations: 179 kB / 0.9586 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.8523, allocations: 57.81 kB / 0.9586 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.8525, allocations: 145.7 kB / 0.9588 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.8526, allocations: 350.2 kB / 0.9591 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.853, allocations: 205.3 kB / 0.9593 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/0.8534, allocations: 325.4 kB / 0.9596 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/0.8539, allocations: 0.5308 MB / 0.9601 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.8539, allocations: 1.531 kB / 0.9601 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001063/0.855, allocations: 0.74 MB / 0.9609 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.609e-05/0.8551, allocations: 126.2 kB / 0.961 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.8551, allocations: 2.312 kB / 0.961 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/0.8551, allocations: 8.125 kB / 0.961 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.8554, allocations: 57.69 kB / 0.9611 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.8554, allocations: 8.969 kB / 0.9611 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006558/0.856, allocations: 133.6 kB / 0.9612 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.8562, allocations: 63.73 kB / 0.9612 GB, free: 324 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.0002114/0.8564, allocations: 196.8 kB / 0.9614 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.8564, allocations: 34.88 kB / 0.9615 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006095/0.857, allocations: 359.4 kB / 0.9618 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.8571, allocations: 7.344 kB / 0.9618 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.8571, allocations: 1.281 kB / 0.9618 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.8571, allocations: 3.984 kB / 0.9618 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.8581, allocations: 0.7559 MB / 0.9626 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.8581, allocations: 5 kB / 0.9626 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.8583, allocations: 43.52 kB / 0.9626 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.8583, allocations: 2.344 kB / 0.9626 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.8583, allocations: 10.52 kB / 0.9626 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.8583, allocations: 1.375 kB / 0.9626 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8583, allocations: 0 / 0.9626 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005482/0.8589, allocations: 429.8 kB / 0.963 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.032e-05/0.859, allocations: 105 kB / 0.9631 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.859, allocations: 10.62 kB / 0.9631 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.8592, allocations: 15.95 kB / 0.9632 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.8592, allocations: 21.56 kB / 0.9632 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.8593, allocations: 12.94 kB / 0.9632 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002207/0.8595, allocations: 212.3 kB / 0.9634 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8595, allocations: 0 / 0.9634 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004359/0.8599, allocations: 93.92 kB / 0.9635 GB, free: 14.79 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.0002034/0.8602, allocations: 130 kB / 0.9636 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009966/0.8612, allocations: 0.7114 MB / 0.9643 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.8612, allocations: 1.125 kB / 0.9643 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.8614, allocations: 144.8 kB / 0.9644 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.8619, allocations: 75.7 kB / 0.9645 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.8629, allocations: 0.6534 MB / 0.9652 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.8633, allocations: 0.7766 MB / 0.9659 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001798/0.8635, allocations: 73.19 kB / 0.966 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.774e-05/0.8636, allocations: 41.14 kB / 0.966 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.8636, allocations: 0 / 0.966 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of Templates: time 0.01065/0.8742, allocations: 5.468 MB / 0.9714 GB, free: 10.16 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