Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008801/0.008801, allocations: 102.2 kB / 15.73 MB, free: 5.98 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.002093/0.002093, allocations: 193 kB / 16.67 MB, free: 5.91 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.364/1.364, 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 11.1.0-maint.11.x/package.mo): time 2.626/2.626, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 68.12 kB / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9621/0.9641, allocations: 159.1 MB / 1.221 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002169/0.9663, allocations: 0.6316 MB / 1.221 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003967/0.9667, allocations: 111.7 kB / 1.221 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.936e-05/0.9667, allocations: 0 / 1.221 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.9668, allocations: 3.938 kB / 1.221 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004173/0.9673, allocations: 27.91 kB / 1.221 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.192e-05/0.9673, allocations: 11.94 kB / 1.221 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.9674, allocations: 31.89 kB / 1.221 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.9675, allocations: 20 kB / 1.221 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.9677, allocations: 51.89 kB / 1.221 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.482e-05/0.9678, allocations: 15.92 kB / 1.221 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.9678, allocations: 4 kB / 1.221 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.173e-06/0.9678, allocations: 0 / 1.221 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.9678, allocations: 19.97 kB / 1.222 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.648e-05/0.9679, allocations: 15.88 kB / 1.222 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.968, allocations: 43.48 kB / 1.222 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.968, allocations: 4 kB / 1.222 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.044e-06/0.968, allocations: 0 / 1.222 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.968, allocations: 3.938 kB / 1.222 GB, free: 1.133 MB / 0.9356 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.0004109/0.9684, allocations: 356.1 kB / 1.222 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.9684, allocations: 8.031 kB / 1.222 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.9685, allocations: 4.938 kB / 1.222 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.9687, allocations: 192.2 kB / 1.222 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.9687, allocations: 4.375 kB / 1.222 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.9687, allocations: 4.375 kB / 1.222 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.9689, allocations: 76.81 kB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.9689, allocations: 192 / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.9689, allocations: 7.938 kB / 1.222 GB, free: 404 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.9689, allocations: 4 kB / 1.222 GB, free: 400 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.566e-05/0.969, allocations: 27.91 kB / 1.222 GB, free: 372 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.9696, allocations: 0.6012 MB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.454e-05/0.9696, allocations: 173.1 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/0.9697, allocations: 84.12 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.9697, allocations: 75.28 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.775e-05/0.9698, allocations: 113.8 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.9698, allocations: 0 / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.143e-05/0.9698, allocations: 33.66 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.9699, allocations: 126.7 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.9701, allocations: 153.8 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.9701, allocations: 25.7 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.9701, allocations: 96.12 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.9701, allocations: 0 / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.9702, allocations: 13.72 kB / 1.224 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.9703, allocations: 330.7 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-06/0.9703, allocations: 0 / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.224e-05/0.9703, allocations: 4 kB / 1.224 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.768e-05/0.9704, allocations: 75.28 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.84e-05/0.9704, allocations: 83.22 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.286e-05/0.9705, allocations: 33.66 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.938e-05/0.9705, allocations: 81 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.122e-05/0.9706, allocations: 83.31 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.554e-05/0.9706, allocations: 158.5 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.469e-05/0.9707, allocations: 75.28 kB / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.346e-05/0.9707, allocations: 158.5 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.9708, allocations: 79.22 kB / 1.225 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.9708, allocations: 79.28 kB / 1.225 GB, free: 13.52 MB / 0.9512 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.0001494/0.971, allocations: 276.9 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.421e-05/0.9711, allocations: 112.9 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.524e-05/0.9711, allocations: 113.8 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.563e-05/0.9712, allocations: 180.2 kB / 1.226 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.65e-05/0.9713, allocations: 184.2 kB / 1.226 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.189e-05/0.9714, allocations: 188.2 kB / 1.226 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.9717, allocations: 421.1 kB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.731e-05/0.9718, allocations: 101 kB / 1.226 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.9718, allocations: 104.9 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.326e-05/0.9719, allocations: 180.3 kB / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.989e-05/0.9719, allocations: 180.6 kB / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.43e-05/0.972, allocations: 184.2 kB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.158e-05/0.9721, allocations: 184.3 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.9722, allocations: 307.7 kB / 1.227 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.442e-05/0.9723, allocations: 194 kB / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/0.9724, allocations: 184.2 kB / 1.228 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.442e-05/0.9724, allocations: 101 kB / 1.228 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/0.9725, allocations: 184.2 kB / 1.228 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.9726, allocations: 108.9 kB / 1.228 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001587/0.9727, allocations: 123.2 kB / 1.228 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.9727, allocations: 0 / 1.228 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002726/0.973, allocations: 4 kB / 1.228 GB, free: 9.758 MB / 0.9512 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.0001529/0.9732, allocations: 178.5 kB / 1.228 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 5.435e-05/0.9732, allocations: 7.875 kB / 1.228 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.9732, allocations: 0 / 1.228 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.9732, allocations: 0 / 1.228 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.9736, allocations: 469.9 kB / 1.229 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.9739, allocations: 220 kB / 1.229 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.9742, allocations: 0.6885 MB / 1.23 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.575e-05/0.9742, allocations: 11.97 kB / 1.23 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.097e-05/0.9743, allocations: 7.438 kB / 1.23 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of SimCode: time 1.192e-06/0.9743, allocations: 0 / 1.23 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of Templates: time 0.002896/0.9772, allocations: 372.5 kB / 1.23 GB, free: 7.766 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches