Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.RealVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaFil.u.1.|reaFil.u.2.|reaFil.u.3.|reaFil.y.1.|reaFil.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaFil.u.1.|reaFil.u.2.|reaFil.u.3.|reaFil.y.1.|reaFil.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009257/0.009257, allocations: 99.64 kB / 15.73 MB, free: 6.039 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.001397/0.001397, allocations: 193.6 kB / 16.67 MB, free: 5.961 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.567/1.567, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 67.88 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.062, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001722/1.064, allocations: 0.6328 MB / 1.167 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003695/1.064, allocations: 111.7 kB / 1.167 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/1.064, allocations: 0 / 1.167 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/1.064, allocations: 3.938 kB / 1.167 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003785/1.065, allocations: 35.91 kB / 1.167 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.007e-05/1.065, allocations: 7.938 kB / 1.167 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.845e-05/1.065, allocations: 35.84 kB / 1.167 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/1.065, allocations: 16 kB / 1.167 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/1.065, allocations: 59.88 kB / 1.167 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.123e-05/1.065, allocations: 19.92 kB / 1.167 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/1.065, allocations: 0 / 1.167 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/1.065, allocations: 4 kB / 1.168 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.337e-05/1.065, allocations: 8 kB / 1.168 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/1.065, allocations: 19.86 kB / 1.168 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.757e-05/1.065, allocations: 51.47 kB / 1.168 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/1.065, allocations: 0 / 1.168 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.094e-06/1.065, allocations: 0 / 1.168 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.759e-06/1.065, allocations: 0 / 1.168 GB, free: 2.867 MB / 0.8887 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.0003436/1.066, allocations: 360.1 kB / 1.168 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/1.066, allocations: 8.922 kB / 1.168 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/1.066, allocations: 8.891 kB / 1.168 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/1.066, allocations: 188.2 kB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/1.066, allocations: 384 / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/1.066, allocations: 4.375 kB / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/1.066, allocations: 76.81 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/1.066, allocations: 192 / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/1.066, allocations: 11.94 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/1.066, allocations: 0 / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.898e-05/1.066, allocations: 27.91 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/1.067, allocations: 0.6075 MB / 1.169 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.369e-05/1.067, allocations: 169.1 kB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/1.067, allocations: 80.14 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/1.067, allocations: 75.28 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/1.067, allocations: 109.8 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/1.067, allocations: 0 / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.428e-05/1.067, allocations: 37.66 kB / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/1.067, allocations: 130.7 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/1.067, allocations: 160.1 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/1.067, allocations: 25.7 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/1.067, allocations: 92.14 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/1.067, allocations: 0 / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/1.067, allocations: 13.72 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.067, allocations: 322.8 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-06/1.067, allocations: 3.938 kB / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.726e-05/1.067, allocations: 8 kB / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.858e-05/1.068, allocations: 79.22 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-05/1.068, allocations: 75.28 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.715e-05/1.068, allocations: 37.69 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/1.068, allocations: 83.22 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/1.068, allocations: 79.27 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.037e-05/1.068, allocations: 158.5 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.564e-05/1.068, allocations: 87.31 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.678e-05/1.068, allocations: 154.5 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/1.068, allocations: 87.11 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/1.068, allocations: 79.28 kB / 1.171 GB, free: 15.24 MB / 0.9044 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.0001367/1.068, allocations: 268.4 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.526e-05/1.068, allocations: 116.9 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.304e-05/1.068, allocations: 112.8 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.748e-05/1.068, allocations: 184.2 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.108e-05/1.068, allocations: 176.3 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.87e-05/1.069, allocations: 188.2 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/1.069, allocations: 421.1 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.425e-05/1.069, allocations: 105 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.148e-05/1.069, allocations: 104.9 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-05/1.069, allocations: 180.2 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.835e-05/1.069, allocations: 180.6 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.939e-05/1.069, allocations: 180.2 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-05/1.069, allocations: 184.3 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/1.069, allocations: 315.7 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/1.069, allocations: 182 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.377e-05/1.07, allocations: 188.2 kB / 1.174 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.703e-05/1.07, allocations: 101 kB / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/1.07, allocations: 188.2 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/1.07, allocations: 104.9 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.487e-05/1.07, allocations: 123.2 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.6e-07/1.07, allocations: 0 / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002508/1.07, allocations: 0 / 1.174 GB, free: 11.48 MB / 0.9044 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.0001569/1.07, allocations: 178.5 kB / 1.174 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 5.324e-05/1.07, allocations: 7.938 kB / 1.174 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.07, allocations: 0 / 1.174 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/1.07, allocations: 0 / 1.174 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/1.071, allocations: 466.2 kB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/1.071, allocations: 208.1 kB / 1.175 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/1.071, allocations: 0.6962 MB / 1.176 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.673e-05/1.071, allocations: 7.938 kB / 1.176 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/1.071, allocations: 7.438 kB / 1.176 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/1.071, allocations: 0 / 1.176 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of Templates: time 0.002479/1.074, allocations: 413.1 kB / 1.176 GB, free: 9.465 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches