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.001379/0.001379, allocations: 109 kB / 16.41 MB, free: 6.438 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.00109/0.00109, allocations: 191.2 kB / 17.34 MB, free: 5.742 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.17 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.521/2.521, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002058/1.01, allocations: 0.643 MB / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004306/1.01, allocations: 111.7 kB / 1.168 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.956e-05/1.01, allocations: 0 / 1.168 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.883e-05/1.01, allocations: 0 / 1.168 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004091/1.011, allocations: 39.83 kB / 1.168 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.888e-05/1.011, allocations: 7.938 kB / 1.168 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/1.011, allocations: 23.98 kB / 1.168 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/1.011, allocations: 23.98 kB / 1.168 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/1.011, allocations: 59.89 kB / 1.168 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.668e-05/1.011, allocations: 15.92 kB / 1.168 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/1.011, allocations: 0 / 1.168 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/1.011, allocations: 4 kB / 1.168 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/1.011, allocations: 15.92 kB / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/1.011, allocations: 15.88 kB / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/1.012, allocations: 47.81 kB / 1.168 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/1.012, allocations: 4 kB / 1.168 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.873e-06/1.012, allocations: 0 / 1.168 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.638e-06/1.012, allocations: 0 / 1.168 GB, free: 2.879 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.0004101/1.012, allocations: 354.8 kB / 1.169 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/1.012, allocations: 8.625 kB / 1.169 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/1.012, allocations: 12.94 kB / 1.169 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/1.012, allocations: 186.3 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/1.012, allocations: 384 / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/1.012, allocations: 8.375 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/1.013, allocations: 80.75 kB / 1.169 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.013, allocations: 4.188 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/1.013, allocations: 3.938 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/1.013, allocations: 0 / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.742e-05/1.013, allocations: 27.92 kB / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005168/1.013, allocations: 0.6074 MB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.179e-05/1.013, allocations: 173.1 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/1.013, allocations: 84.12 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/1.013, allocations: 75.28 kB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/1.013, allocations: 109.8 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/1.013, allocations: 4 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 8.282e-05/1.013, allocations: 33.55 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/1.014, allocations: 126.7 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/1.014, allocations: 153.8 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/1.014, allocations: 29.7 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/1.014, allocations: 92.12 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-06/1.014, allocations: 4 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/1.014, allocations: 13.72 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.014, allocations: 326.8 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-06/1.014, allocations: 0 / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.94e-05/1.014, allocations: 0 / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.691e-05/1.014, allocations: 75.28 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.901e-05/1.014, allocations: 79.28 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.097e-05/1.014, allocations: 37.64 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.028e-05/1.014, allocations: 87.25 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/1.014, allocations: 75.28 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.781e-05/1.014, allocations: 150.6 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.925e-05/1.014, allocations: 87.2 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.552e-05/1.014, allocations: 150.6 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/1.015, allocations: 87.06 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/1.015, allocations: 79.28 kB / 1.172 GB, free: 15.27 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.0001417/1.015, allocations: 275.5 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.954e-05/1.015, allocations: 105 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.567e-05/1.015, allocations: 120.8 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.899e-05/1.015, allocations: 176.3 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.409e-05/1.015, allocations: 180.2 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.522e-05/1.015, allocations: 192.2 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/1.015, allocations: 417.2 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.795e-05/1.015, allocations: 104.9 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.646e-05/1.016, allocations: 104.9 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.301e-05/1.016, allocations: 184.2 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.525e-05/1.016, allocations: 188.5 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.706e-05/1.016, allocations: 180.3 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.519e-05/1.016, allocations: 184.2 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/1.016, allocations: 319.6 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.981e-05/1.016, allocations: 194 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.453e-05/1.016, allocations: 176.3 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.125e-05/1.016, allocations: 104.9 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.972e-05/1.016, allocations: 176.3 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/1.016, allocations: 116.8 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001159/1.017, allocations: 121.8 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.01e-07/1.017, allocations: 0 / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002705/1.017, allocations: 8 kB / 1.175 GB, free: 11.49 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.0001577/1.017, allocations: 170.5 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 5.208e-05/1.017, allocations: 4 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.017, allocations: 0 / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.439e-06/1.017, allocations: 4 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/1.017, allocations: 463.7 kB / 1.176 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/1.018, allocations: 245.8 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/1.018, allocations: 0.6924 MB / 1.177 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/1.018, allocations: 7.438 kB / 1.177 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/1.018, allocations: 0 / 1.177 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of Templates: time 0.002197/1.02, allocations: 0.7166 MB / 1.177 GB, free: 9.133 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/jenkins1/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