Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.0009649/0.0009648, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 186.9 kB / 16.92 MB, free: 6.684 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.476/1.476, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.687/2.687, allocations: 437.8 MB / 0.7128 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003779, allocations: 16 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6751/0.6755, allocations: 153.8 MB / 1.024 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.0009055/0.6765, allocations: 335.7 kB / 1.024 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004313/0.6769, allocations: 111.7 kB / 1.024 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.573e-05/0.677, allocations: 0 / 1.024 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.881e-05/0.6771, allocations: 7.938 kB / 1.024 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003574/0.6775, allocations: 23.97 kB / 1.024 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.893e-05/0.6775, allocations: 8 kB / 1.024 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.356e-05/0.6776, allocations: 31.86 kB / 1.024 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.6778, allocations: 19.98 kB / 1.024 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.678, allocations: 51.89 kB / 1.024 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.353e-05/0.678, allocations: 11.92 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.678, allocations: 4 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.6781, allocations: 0 / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.437e-05/0.6781, allocations: 7.984 kB / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.79e-05/0.6782, allocations: 45.52 kB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.684e-05/0.6783, allocations: 35.92 kB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6783, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6783, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.6783, allocations: 4 kB / 1.024 GB, free: 15.3 MB / 0.7794 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.0004218/0.6787, allocations: 349.3 kB / 1.025 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.6788, allocations: 11.97 kB / 1.025 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.6788, allocations: 12.84 kB / 1.025 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.679, allocations: 176.4 kB / 1.025 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.679, allocations: 8.375 kB / 1.025 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.679, allocations: 384 / 1.025 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.6792, allocations: 84.75 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.6792, allocations: 192 / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.6793, allocations: 7.938 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.6793, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.889e-05/0.6793, allocations: 19.98 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.6798, allocations: 0.605 MB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.973e-05/0.6799, allocations: 173.1 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.67e-05/0.68, allocations: 80.14 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.792e-05/0.6801, allocations: 75.28 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.506e-05/0.6801, allocations: 109.8 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.6802, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.871e-05/0.6802, allocations: 37.59 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.6803, allocations: 130.7 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.6805, allocations: 159.5 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.6806, allocations: 29.64 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.6806, allocations: 100.1 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.6806, allocations: 0 / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.902e-05/0.6807, allocations: 9.719 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6808, allocations: 314.8 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-06/0.6808, allocations: 4 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.647e-05/0.6809, allocations: 8 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.253e-05/0.6809, allocations: 79.27 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.47e-05/0.681, allocations: 75.28 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.433e-05/0.681, allocations: 33.61 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.171e-05/0.6811, allocations: 83.31 kB / 1.027 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.253e-05/0.6811, allocations: 83.22 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-05/0.6812, allocations: 154.6 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.658e-05/0.6813, allocations: 75.28 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001044/0.6814, allocations: 158.5 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.6815, allocations: 87.2 kB / 1.028 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.6816, allocations: 79.22 kB / 1.028 GB, free: 11.7 MB / 0.7794 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.0001221/0.6817, allocations: 264.9 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-05/0.6818, allocations: 120.9 kB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/0.6818, allocations: 116.7 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.954e-05/0.6819, allocations: 176.3 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.786e-05/0.682, allocations: 180.2 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.799e-05/0.682, allocations: 192.1 kB / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.6823, allocations: 413.2 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.658e-05/0.6823, allocations: 113.2 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.6824, allocations: 101 kB / 1.029 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.996e-05/0.6824, allocations: 184.3 kB / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.575e-05/0.6825, allocations: 180.2 kB / 1.03 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-05/0.6826, allocations: 184.3 kB / 1.03 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.671e-05/0.6826, allocations: 188.2 kB / 1.03 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.6828, allocations: 303.8 kB / 1.03 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.683, allocations: 189.9 kB / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.532e-05/0.683, allocations: 184.2 kB / 1.031 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.6831, allocations: 108.9 kB / 1.031 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.6832, allocations: 180.3 kB / 1.031 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.6833, allocations: 108.9 kB / 1.031 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001014/0.6834, allocations: 128.3 kB / 1.031 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6834, allocations: 3.938 kB / 1.031 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002879/0.6837, allocations: 4 kB / 1.031 GB, free: 7.93 MB / 0.7794 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.0001456/0.6838, allocations: 178.5 kB / 1.031 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.396e-05/0.6839, allocations: 0 / 1.031 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6839, allocations: 0 / 1.031 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.6839, allocations: 0 / 1.031 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.6843, allocations: 0.5248 MB / 1.032 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.6846, allocations: 239.7 kB / 1.032 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.6849, allocations: 0.6848 MB / 1.033 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.685, allocations: 7.438 kB / 1.033 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.685, allocations: 7.938 kB / 1.033 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of Templates: time 0.002096/0.6871, allocations: 0.6961 MB / 1.033 GB, free: 5.527 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches