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.0008233/0.0008231, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005481/0.005481, allocations: 171.7 kB / 16.27 MB, free: 6.652 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.484/1.484, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.89/2.89, allocations: 462.7 MB / 0.7364 GB, free: 356 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003875, allocations: 14.61 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3755, allocations: 159.6 MB / 1.059 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001025/0.3766, allocations: 333.9 kB / 1.059 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004702/0.377, allocations: 103.8 kB / 1.059 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.911e-05/0.3771, allocations: 0 / 1.059 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.3772, allocations: 11.86 kB / 1.059 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000405/0.3776, allocations: 27.92 kB / 1.059 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.676e-05/0.3777, allocations: 4 kB / 1.059 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.703e-05/0.3778, allocations: 27.98 kB / 1.059 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.3779, allocations: 23.97 kB / 1.059 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.3781, allocations: 51.83 kB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.237e-05/0.3782, allocations: 11.94 kB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.3782, allocations: 4 kB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.764e-06/0.3782, allocations: 0 / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.3783, allocations: 11.98 kB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.534e-05/0.3783, allocations: 41.58 kB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.418e-05/0.3784, allocations: 43.8 kB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3784, allocations: 3.984 kB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3784, allocations: 0 / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.3785, allocations: 0 / 1.059 GB, free: 4.867 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.0004207/0.3789, allocations: 343.6 kB / 1.06 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.3789, allocations: 12.03 kB / 1.06 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.379, allocations: 8.844 kB / 1.06 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.3792, allocations: 188.2 kB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.3792, allocations: 4.359 kB / 1.06 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.3792, allocations: 8.312 kB / 1.06 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3794, allocations: 76.81 kB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3794, allocations: 192 / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3794, allocations: 3.938 kB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3794, allocations: 4 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.096e-05/0.3795, allocations: 35.91 kB / 1.06 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/0.38, allocations: 0.5972 MB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.536e-05/0.3801, allocations: 169.1 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.3802, allocations: 84.14 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.3802, allocations: 75.28 kB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.943e-05/0.3803, allocations: 109.8 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.3803, allocations: 0 / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.704e-05/0.3804, allocations: 37.55 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.3804, allocations: 126.7 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.3806, allocations: 161.8 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.3806, allocations: 25.7 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.3807, allocations: 92.14 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.3807, allocations: 0 / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.711e-05/0.3807, allocations: 13.66 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3808, allocations: 326.8 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.025e-06/0.3808, allocations: 0 / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.3809, allocations: 4 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.3809, allocations: 79.31 kB / 1.062 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-05/0.3809, allocations: 75.28 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.329e-05/0.381, allocations: 37.55 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.381, allocations: 81 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/0.3811, allocations: 75.28 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.122e-05/0.3811, allocations: 162.5 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.275e-05/0.3812, allocations: 79.22 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.151e-05/0.3812, allocations: 154.7 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.3814, allocations: 95.11 kB / 1.063 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.3814, allocations: 75.28 kB / 1.063 GB, free: 1.254 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.0001414/0.3816, allocations: 273.9 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.3816, allocations: 108.8 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.764e-05/0.3817, allocations: 116.8 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.089e-05/0.3818, allocations: 180.3 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.316e-05/0.3819, allocations: 192.2 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.555e-05/0.382, allocations: 180.2 kB / 1.064 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.3822, allocations: 421.1 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.512e-05/0.3822, allocations: 101 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.519e-05/0.3823, allocations: 109 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-05/0.3823, allocations: 184.2 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.334e-05/0.3824, allocations: 176.3 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.991e-05/0.3825, allocations: 180.2 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.807e-05/0.3826, allocations: 180.3 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.3827, allocations: 315.7 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.31e-05/0.3828, allocations: 186 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.225e-05/0.3829, allocations: 184.2 kB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.71e-05/0.383, allocations: 101 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.556e-05/0.383, allocations: 184.2 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.3831, allocations: 112.9 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.98e-05/0.3832, allocations: 119.2 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3832, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002399/0.3834, allocations: 4 kB / 1.066 GB, free: 13.5 MB / 0.8262 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.0001427/0.3836, allocations: 170.5 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.24e-05/0.3836, allocations: 0 / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3836, allocations: 0 / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.3836, allocations: 12 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.384, allocations: 0.5263 MB / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.3843, allocations: 221.8 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.3846, allocations: 0.6887 MB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.711e-05/0.3846, allocations: 4 kB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.3847, allocations: 11.44 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3847, allocations: 0 / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of Templates: time 0.002567/0.3872, allocations: 410.5 kB / 1.068 GB, free: 11.41 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