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.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.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.005116/0.005116, allocations: 102.1 kB / 15.73 MB, free: 6.477 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.001983/0.001984, allocations: 195.6 kB / 16.67 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.355 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.558/2.558, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.44 kB / 0.9509 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3656, allocations: 140.4 MB / 1.088 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002145/0.3678, allocations: 0.8761 MB / 1.089 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.3696, allocations: 1.289 MB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.588e-05/0.3696, allocations: 3.938 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.3698, allocations: 19.81 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.54e-05/0.3699, allocations: 43.64 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000783/0.3707, allocations: 263.5 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003796/0.3711, allocations: 339.4 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.3713, allocations: 69.38 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.3715, allocations: 127.7 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.3717, allocations: 107.6 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.116e-05/0.3718, allocations: 28 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.3719, allocations: 51.98 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.796e-05/0.372, allocations: 51.84 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.3722, allocations: 123.4 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003959/0.3726, allocations: 343 kB / 1.092 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3726, allocations: 0 / 1.092 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3726, allocations: 0 / 1.092 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.3726, allocations: 0 / 1.092 GB, free: 13.83 MB / 0.8575 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.0008143/0.3734, allocations: 0.5449 MB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3735, allocations: 8.031 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.562e-05/0.3736, allocations: 28.66 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.3742, allocations: 299.7 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.3743, allocations: 16.38 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.3743, allocations: 16.38 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.3746, allocations: 152.9 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3746, allocations: 4 kB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.3746, allocations: 4 kB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.3746, allocations: 7.984 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.3748, allocations: 71.84 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008317/0.3756, allocations: 0.7545 MB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.3757, allocations: 61.23 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.806e-05/0.3758, allocations: 25.77 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.3758, allocations: 0 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.376, allocations: 109 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 3.166e-06/0.376, allocations: 0 / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0003089/0.3764, allocations: 125.4 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.3764, allocations: 89.03 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.3766, allocations: 207.7 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.3767, allocations: 37.64 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.3768, allocations: 152.1 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.3768, allocations: 15.81 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.3769, allocations: 61.67 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3771, allocations: 330.8 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3773, allocations: 67.95 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.3774, allocations: 132.5 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.3777, allocations: 194.2 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3777, allocations: 0 / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004931/0.3782, allocations: 292.6 kB / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/0.3783, allocations: 67.39 kB / 1.095 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3783, allocations: 0 / 1.095 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3783, allocations: 4 kB / 1.095 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.025e-05/0.3784, allocations: 8 kB / 1.095 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.3784, allocations: 7.984 kB / 1.095 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004986/0.3789, allocations: 75.95 kB / 1.095 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.677e-05/0.379, allocations: 8 kB / 1.095 GB, free: 9.523 MB / 0.8575 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.0001869/0.3792, allocations: 150.4 kB / 1.096 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.3792, allocations: 20.27 kB / 1.096 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.208e-05/0.3793, allocations: 16.94 kB / 1.096 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3793, allocations: 4 kB / 1.096 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.826e-05/0.3793, allocations: 4 kB / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3793, allocations: 3.984 kB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.3796, allocations: 237.5 kB / 1.096 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3796, allocations: 0 / 1.096 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.011e-05/0.3797, allocations: 7.984 kB / 1.096 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3797, allocations: 0 / 1.096 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3797, allocations: 4 kB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3797, allocations: 0 / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.3797, allocations: 0 / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.38, allocations: 141.7 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.39e-05/0.3801, allocations: 92.86 kB / 1.096 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.3801, allocations: 11.92 kB / 1.096 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.355e-05/0.3802, allocations: 4 kB / 1.096 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.3803, allocations: 4 kB / 1.096 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.3803, allocations: 3.984 kB / 1.096 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001999/0.3805, allocations: 153.5 kB / 1.096 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3805, allocations: 0 / 1.096 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004968/0.381, allocations: 43.88 kB / 1.096 GB, free: 8.547 MB / 0.8575 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.0002227/0.3812, allocations: 120.6 kB / 1.096 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005892/0.3818, allocations: 254.7 kB / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3819, allocations: 0 / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.056e-05/0.382, allocations: 36.3 kB / 1.097 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.3824, allocations: 31.98 kB / 1.097 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007648/0.3832, allocations: 300.8 kB / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.3836, allocations: 0.7319 MB / 1.098 GB, free: 7 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001025/0.3838, allocations: 21.53 kB / 1.098 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.3838, allocations: 15.44 kB / 1.098 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of SimCode: time 7.21e-07/0.3838, allocations: 0 / 1.098 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of Templates: time 0.00932/0.3932, allocations: 2.551 MB / 1.1 GB, free: 4.449 MB / 0.8575 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