Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.009265/0.009265, allocations: 97.66 kB / 15.73 MB, free: 6.047 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.002147/0.002147, allocations: 203.9 kB / 16.68 MB, free: 5.969 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.788/2.788, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.91 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3452, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001925/0.3471, allocations: 0.8765 MB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.3486, allocations: 1.291 MB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.674e-05/0.3487, allocations: 4 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.3488, allocations: 15.8 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.934e-05/0.3488, allocations: 39.72 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007205/0.3496, allocations: 262.9 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003505/0.3499, allocations: 331.4 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.3501, allocations: 41.44 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.3502, allocations: 135.7 kB / 1.224 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.3504, allocations: 111.6 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.762e-05/0.3505, allocations: 28 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.3506, allocations: 51.98 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.448e-05/0.3507, allocations: 55.78 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.3508, allocations: 115.5 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.3511, allocations: 346.8 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3511, allocations: 0 / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3511, allocations: 3.938 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.3512, allocations: 0 / 1.224 GB, free: 10.13 MB / 0.9825 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.0006827/0.3518, allocations: 0.5448 MB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3519, allocations: 8.031 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.089e-05/0.3519, allocations: 24.8 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006036/0.3526, allocations: 308 kB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.3526, allocations: 16.31 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.3526, allocations: 28.3 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.3529, allocations: 143.6 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3529, allocations: 15.94 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.3529, allocations: 4 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.3529, allocations: 4 kB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.353, allocations: 63.89 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007462/0.3538, allocations: 0.7625 MB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.518e-05/0.3539, allocations: 61.16 kB / 1.226 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.298e-05/0.3539, allocations: 25.78 kB / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.3539, allocations: 0 / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.3541, allocations: 105 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.3541, allocations: 0 / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0002831/0.3544, allocations: 129.4 kB / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.3544, allocations: 85.11 kB / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.3546, allocations: 211.7 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.3546, allocations: 29.7 kB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.3547, allocations: 152.2 kB / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.3548, allocations: 15.89 kB / 1.227 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.3549, allocations: 69.67 kB / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.355, allocations: 326.8 kB / 1.227 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.3551, allocations: 63.97 kB / 1.227 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.3553, allocations: 128.5 kB / 1.227 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.3555, allocations: 198.1 kB / 1.228 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3555, allocations: 4 kB / 1.228 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004551/0.356, allocations: 300.7 kB / 1.228 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/0.356, allocations: 63.39 kB / 1.228 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.356, allocations: 4 kB / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.356, allocations: 0 / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.3561, allocations: 8 kB / 1.228 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.3561, allocations: 7.938 kB / 1.228 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004134/0.3565, allocations: 80 kB / 1.228 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.3565, allocations: 19.98 kB / 1.228 GB, free: 5.793 MB / 0.9825 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,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.3567, allocations: 146.3 kB / 1.228 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.3567, allocations: 11.91 kB / 1.228 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.3567, allocations: 24.92 kB / 1.228 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3567, allocations: 0 / 1.228 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3568, allocations: 0 / 1.228 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3568, allocations: 0 / 1.228 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.3569, allocations: 237.5 kB / 1.228 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3569, allocations: 7.938 kB / 1.228 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.667e-05/0.357, allocations: 7.938 kB / 1.228 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.357, allocations: 0 / 1.228 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.357, allocations: 0 / 1.228 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.357, allocations: 3.984 kB / 1.228 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.357, allocations: 7.938 kB / 1.228 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.3572, allocations: 133.8 kB / 1.229 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.3572, allocations: 93.02 kB / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.3572, allocations: 0 / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.034e-05/0.3573, allocations: 0 / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.3573, allocations: 11.98 kB / 1.229 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.3573, allocations: 4 kB / 1.229 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001166/0.3574, allocations: 153.4 kB / 1.229 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3574, allocations: 0 / 1.229 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002739/0.3577, allocations: 51.88 kB / 1.229 GB, free: 4.82 MB / 0.9825 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 (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.0001865/0.3579, allocations: 107.2 kB / 1.229 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003439/0.3582, allocations: 227.2 kB / 1.229 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3582, allocations: 0 / 1.229 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.882e-05/0.3583, allocations: 28.58 kB / 1.229 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.3586, allocations: 44.06 kB / 1.229 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004845/0.359, allocations: 320.3 kB / 1.23 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.3593, allocations: 0.728 MB / 1.23 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.315e-05/0.3594, allocations: 25.53 kB / 1.23 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.3594, allocations: 15.44 kB / 1.23 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3594, allocations: 0 / 1.23 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of Templates: time 0.005478/0.3649, allocations: 2.546 MB / 1.233 GB, free: 0.7539 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches