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.001659/0.001659, allocations: 100.8 kB / 16.4 MB, free: 6.445 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.00195/0.00195, allocations: 192.2 kB / 17.34 MB, free: 5.711 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.424/1.424, allocations: 222.9 MB / 241.1 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.579/2.579, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 71.88 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002183/1.015, allocations: 0.6332 MB / 1.168 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004461/1.015, allocations: 107.7 kB / 1.168 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.482e-05/1.016, allocations: 0 / 1.168 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/1.016, allocations: 7.938 kB / 1.168 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004412/1.016, allocations: 31.92 kB / 1.168 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.441e-05/1.016, allocations: 3.984 kB / 1.168 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/1.016, allocations: 27.92 kB / 1.168 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/1.016, allocations: 23.98 kB / 1.168 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/1.017, allocations: 63.81 kB / 1.168 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/1.017, allocations: 11.94 kB / 1.168 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/1.017, allocations: 8 kB / 1.168 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.787e-06/1.017, allocations: 0 / 1.168 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.299e-05/1.017, allocations: 15.98 kB / 1.168 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/1.017, allocations: 19.81 kB / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/1.017, allocations: 51.45 kB / 1.168 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.017, allocations: 0 / 1.168 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.174e-06/1.017, allocations: 0 / 1.168 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.274e-06/1.017, allocations: 4 kB / 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.0004273/1.017, allocations: 354.2 kB / 1.169 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.017, allocations: 12.92 kB / 1.169 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/1.018, allocations: 8.891 kB / 1.169 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/1.018, allocations: 188.2 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/1.018, allocations: 384 / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/1.018, allocations: 12.38 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/1.018, allocations: 76.8 kB / 1.169 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.018, allocations: 192 / 1.169 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/1.018, allocations: 3.938 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/1.018, allocations: 4 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.264e-05/1.018, allocations: 31.92 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/1.019, allocations: 0.5997 MB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.255e-05/1.019, allocations: 173.1 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.708e-05/1.019, allocations: 84.14 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/1.019, allocations: 79.27 kB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/1.019, allocations: 109.8 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.402e-06/1.019, allocations: 0 / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 8.978e-05/1.019, allocations: 37.59 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/1.019, allocations: 126.7 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/1.019, allocations: 160.6 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/1.019, allocations: 25.7 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/1.019, allocations: 96.12 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-06/1.019, allocations: 0 / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/1.019, allocations: 17.72 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.02, allocations: 318.8 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.119e-06/1.02, allocations: 0 / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/1.02, allocations: 4 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.506e-05/1.02, allocations: 79.31 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.222e-05/1.02, allocations: 79.28 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.886e-05/1.02, allocations: 33.64 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/1.02, allocations: 87.22 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.892e-05/1.02, allocations: 75.28 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.022e-05/1.02, allocations: 154.5 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.102e-05/1.02, allocations: 83.2 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.451e-05/1.02, allocations: 154.6 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/1.02, allocations: 95.05 kB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/1.02, allocations: 79.28 kB / 1.172 GB, free: 15.25 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.0001426/1.02, allocations: 268.4 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.935e-05/1.02, allocations: 112.9 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.44e-05/1.021, allocations: 112.9 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-05/1.021, allocations: 184.2 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.661e-05/1.021, allocations: 180.2 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.03e-05/1.021, allocations: 184.2 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/1.021, allocations: 421.1 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.428e-05/1.021, allocations: 105 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.307e-05/1.021, allocations: 105 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.596e-05/1.021, allocations: 180.2 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.272e-05/1.021, allocations: 180.6 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.844e-05/1.021, allocations: 188.2 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.085e-05/1.022, allocations: 180.3 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/1.022, allocations: 311.7 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.752e-05/1.022, allocations: 190 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.222e-05/1.022, allocations: 184.2 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.114e-05/1.022, allocations: 105 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/1.022, allocations: 180.2 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/1.022, allocations: 112.9 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.684e-05/1.022, allocations: 121.6 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.51e-07/1.022, allocations: 0 / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002708/1.023, allocations: 4 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.0001673/1.023, allocations: 178.5 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 5.529e-05/1.023, allocations: 0 / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.023, allocations: 0 / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.39e-06/1.023, allocations: 7.938 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.0004016/1.023, allocations: 463.7 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/1.024, allocations: 233.8 kB / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/1.024, allocations: 0.6962 MB / 1.177 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/1.024, allocations: 7.438 kB / 1.177 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of SimCode: time 4.11e-07/1.024, allocations: 4 kB / 1.177 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of Templates: time 0.00244/1.026, allocations: 0.7091 MB / 1.177 GB, free: 9.141 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