Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001969/0.001969, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.447/1.447, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.759/2.759, allocations: 461.9 MB / 0.7342 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.12 kB / 0.8984 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3439, allocations: 157.4 MB / 1.052 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.002055/0.346, allocations: 0.6495 MB / 1.053 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003856/0.3464, allocations: 107.7 kB / 1.053 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.775e-05/0.3465, allocations: 11.88 kB / 1.053 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.3466, allocations: 4 kB / 1.053 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003229/0.3469, allocations: 23.92 kB / 1.053 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.974e-05/0.347, allocations: 4 kB / 1.053 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.958e-05/0.3471, allocations: 27.97 kB / 1.053 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3472, allocations: 23.98 kB / 1.053 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.3473, allocations: 55.83 kB / 1.053 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.906e-05/0.3474, allocations: 15.92 kB / 1.053 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.3474, allocations: 4 kB / 1.053 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.3474, allocations: 3.938 kB / 1.053 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.3475, allocations: 19.98 kB / 1.053 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.3475, allocations: 11.88 kB / 1.053 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.324e-05/0.3476, allocations: 47.8 kB / 1.053 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3477, allocations: 4 kB / 1.053 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3477, allocations: 0 / 1.053 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3477, allocations: 0 / 1.053 GB, free: 7.805 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000379/0.3481, allocations: 347.6 kB / 1.053 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.3481, allocations: 12.03 kB / 1.053 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.3482, allocations: 12.78 kB / 1.053 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.3484, allocations: 184.3 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3484, allocations: 384 / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.3484, allocations: 4.375 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.3486, allocations: 88.73 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3486, allocations: 192 / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3486, allocations: 3.938 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3486, allocations: 4 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.93e-05/0.3487, allocations: 27.92 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.3491, allocations: 0.6011 MB / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.102e-05/0.3492, allocations: 169.1 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.3493, allocations: 80.14 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.3493, allocations: 79.28 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.3494, allocations: 109.8 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.3494, allocations: 0 / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.318e-05/0.3495, allocations: 33.64 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.3495, allocations: 126.7 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.3497, allocations: 159.8 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.3497, allocations: 25.7 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.3498, allocations: 96.12 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.3498, allocations: 0 / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.3498, allocations: 21.7 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3499, allocations: 318.8 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.52e-06/0.3499, allocations: 0 / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.145e-05/0.35, allocations: 4 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.771e-05/0.35, allocations: 75.28 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.128e-05/0.35, allocations: 75.28 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.484e-05/0.3501, allocations: 45.52 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.3502, allocations: 87.31 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.939e-05/0.3502, allocations: 87.2 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.448e-05/0.3503, allocations: 150.6 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.448e-05/0.3503, allocations: 79.33 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.697e-05/0.3504, allocations: 162.5 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.3505, allocations: 83.16 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.3506, allocations: 79.27 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001278/0.3507, allocations: 272.4 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.036e-05/0.3508, allocations: 112.9 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.643e-05/0.3509, allocations: 116.8 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.927e-05/0.3509, allocations: 176.3 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-05/0.351, allocations: 184.2 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.882e-05/0.3511, allocations: 188.2 kB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.3514, allocations: 417.2 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.999e-05/0.3514, allocations: 108.9 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.3515, allocations: 101 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.846e-05/0.3515, allocations: 180.2 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.122e-05/0.3516, allocations: 184.3 kB / 1.058 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.875e-05/0.3517, allocations: 176.3 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.835e-05/0.3517, allocations: 184.2 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.3519, allocations: 311.6 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.386e-05/0.352, allocations: 194 kB / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.916e-05/0.3521, allocations: 188.2 kB / 1.059 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.3522, allocations: 104.9 kB / 1.059 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/0.3522, allocations: 176.3 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.3523, allocations: 108.9 kB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.132e-05/0.3524, allocations: 121.1 kB / 1.06 GB, free: 440 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3524, allocations: 0 / 1.06 GB, free: 440 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00026/0.3527, allocations: 11.98 kB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001808/0.3529, allocations: 178.5 kB / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.617e-05/0.3529, allocations: 0 / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3529, allocations: 0 / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.3529, allocations: 0 / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.3534, allocations: 0.5302 MB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.3537, allocations: 218 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.354, allocations: 0.6809 MB / 1.061 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.042e-05/0.354, allocations: 7.984 kB / 1.061 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.927e-05/0.354, allocations: 7.438 kB / 1.061 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.354, allocations: 4 kB / 1.061 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of Templates: time 0.002438/0.3565, allocations: 411.7 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches