Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001166, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.001306/0.001306, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.479/2.479, allocations: 390.9 MB / 0.666 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004103, allocations: 16 kB / 0.8154 GB, free: 13.55 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8596/0.8601, allocations: 142.4 MB / 0.9545 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.0008493/0.8609, allocations: 0.5567 MB / 0.955 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.8624, allocations: 1.277 MB / 0.9562 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.142e-05/0.8624, allocations: 5.875 kB / 0.9562 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.8626, allocations: 16.95 kB / 0.9563 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.878e-05/0.8626, allocations: 23.05 kB / 0.9563 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006986/0.8633, allocations: 222.1 kB / 0.9565 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.8636, allocations: 259.7 kB / 0.9567 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.8638, allocations: 51.11 kB / 0.9568 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.8639, allocations: 107 kB / 0.9569 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.8642, allocations: 103.6 kB / 0.957 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.8642, allocations: 10.88 kB / 0.957 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.923e-05/0.8643, allocations: 24.42 kB / 0.957 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.8644, allocations: 29.42 kB / 0.9571 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.449e-05/0.8645, allocations: 58.55 kB / 0.9571 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.8647, allocations: 248.3 kB / 0.9573 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.8647, allocations: 0 / 0.9573 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.065e-06/0.8647, allocations: 3.984 kB / 0.9574 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.8647, allocations: 1.625 kB / 0.9574 GB, free: 5.496 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004831/0.8652, allocations: 0.4964 MB / 0.9578 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.8653, allocations: 7.719 kB / 0.9578 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.757e-05/0.8653, allocations: 25.73 kB / 0.9579 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005981/0.8659, allocations: 296.6 kB / 0.9582 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.866, allocations: 16.36 kB / 0.9582 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.866, allocations: 22.09 kB / 0.9582 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.8662, allocations: 152.4 kB / 0.9583 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.8663, allocations: 0 / 0.9583 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.8663, allocations: 5.844 kB / 0.9583 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.8663, allocations: 3.781 kB / 0.9583 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.8664, allocations: 68.12 kB / 0.9584 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006218/0.867, allocations: 0.75 MB / 0.9591 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.137e-05/0.8671, allocations: 54.91 kB / 0.9592 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.317e-05/0.8672, allocations: 33.83 kB / 0.9592 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.697e-06/0.8672, allocations: 0 / 0.9592 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.8674, allocations: 105.7 kB / 0.9593 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.8674, allocations: 0 / 0.9593 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0002558/0.8676, allocations: 124.5 kB / 0.9594 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.8677, allocations: 83.86 kB / 0.9595 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.8679, allocations: 210.6 kB / 0.9597 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.8679, allocations: 29.83 kB / 0.9598 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.868, allocations: 141.5 kB / 0.9599 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.868, allocations: 23.92 kB / 0.9599 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/0.868, allocations: 6.688 kB / 0.9599 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.358e-05/0.8681, allocations: 330.9 kB / 0.9602 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.8682, allocations: 64.97 kB / 0.9603 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.8684, allocations: 119.8 kB / 0.9604 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.8685, allocations: 121.8 kB / 0.9605 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.8685, allocations: 0.875 kB / 0.9605 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004219/0.8689, allocations: 298.8 kB / 0.9608 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/0.869, allocations: 68.86 kB / 0.9609 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.869, allocations: 5.281 kB / 0.9609 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.869, allocations: 3.375 kB / 0.9609 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.275e-05/0.8691, allocations: 11.08 kB / 0.9609 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.8691, allocations: 7 kB / 0.9609 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.8694, allocations: 70.03 kB / 0.961 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.8695, allocations: 17.95 kB / 0.961 GB, free: 2.219 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,extIntSig1.y[4],$PRE.intPul.booPul.y,intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],$PRE.intPul1.booPul.y,intPul1.booPul.y,conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.8696, allocations: 141.8 kB / 0.9611 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.8696, allocations: 14.69 kB / 0.9611 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.8697, allocations: 26.39 kB / 0.9612 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.8697, allocations: 1.031 kB / 0.9612 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.8697, allocations: 4.922 kB / 0.9612 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.8697, allocations: 1.031 kB / 0.9612 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.8699, allocations: 228.7 kB / 0.9614 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.8699, allocations: 1 kB / 0.9614 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.694e-05/0.8699, allocations: 8.25 kB / 0.9614 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.8699, allocations: 4.812 kB / 0.9614 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.8699, allocations: 5.938 kB / 0.9614 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.8699, allocations: 5.047 kB / 0.9614 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8699, allocations: 0 / 0.9614 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.8701, allocations: 137.4 kB / 0.9615 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.8701, allocations: 89.05 kB / 0.9616 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.8702, allocations: 5.375 kB / 0.9616 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.896e-05/0.8702, allocations: 0 / 0.9616 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.8702, allocations: 8.109 kB / 0.9616 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.8702, allocations: 2.75 kB / 0.9616 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.414e-05/0.8703, allocations: 151.9 kB / 0.9618 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8704, allocations: 3.938 kB / 0.9618 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000271/0.8706, allocations: 46.39 kB / 0.9618 GB, free: 1.457 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001376/0.8708, allocations: 110.5 kB / 0.9619 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003337/0.8711, allocations: 255.2 kB / 0.9622 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8711, allocations: 384 / 0.9622 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.813e-05/0.8712, allocations: 37.98 kB / 0.9622 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.8715, allocations: 40.81 kB / 0.9623 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.872, allocations: 326.8 kB / 0.9626 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.8721, allocations: 0.731 MB / 0.9633 GB, free: 152 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.653e-05/0.8722, allocations: 21.84 kB / 0.9633 GB, free: 144 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.8722, allocations: 16.09 kB / 0.9633 GB, free: 136 kB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8722, allocations: 0 / 0.9633 GB, free: 136 kB / 0.7169 GB Notification: Performance of Templates: time 0.005653/0.8779, allocations: 2.199 MB / 0.9655 GB, free: 15.02 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches