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.0105/0.0105, allocations: 99.3 kB / 15.73 MB, free: 5.605 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.002081/0.002081, allocations: 189.3 kB / 16.67 MB, free: 5.527 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.664/2.664, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 60.12 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122/1.123, 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.002249/1.125, allocations: 0.6328 MB / 1.167 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004881/1.126, allocations: 103.7 kB / 1.167 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.79e-05/1.126, allocations: 4 kB / 1.167 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/1.126, allocations: 7.938 kB / 1.167 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004582/1.127, allocations: 35.89 kB / 1.167 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.661e-05/1.127, allocations: 0 / 1.167 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.924e-05/1.127, allocations: 27.97 kB / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/1.127, allocations: 20 kB / 1.167 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/1.127, allocations: 59.83 kB / 1.167 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/1.127, allocations: 19.91 kB / 1.167 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/1.127, allocations: 8 kB / 1.168 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/1.127, allocations: 0 / 1.168 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.37e-05/1.127, allocations: 15.94 kB / 1.168 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.105e-05/1.127, allocations: 19.86 kB / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/1.128, allocations: 43.48 kB / 1.168 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.128, allocations: 0 / 1.168 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.653e-06/1.128, allocations: 4 kB / 1.168 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.097e-06/1.128, allocations: 0 / 1.168 GB, free: 2.887 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.0004059/1.128, allocations: 348.2 kB / 1.168 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/1.128, allocations: 12.92 kB / 1.168 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/1.128, allocations: 8.891 kB / 1.168 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/1.128, allocations: 184.3 kB / 1.168 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/1.128, allocations: 8.359 kB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/1.128, allocations: 8.312 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/1.129, allocations: 72.81 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.129, allocations: 192 / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/1.129, allocations: 7.938 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/1.129, allocations: 7.938 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.208e-05/1.129, allocations: 31.91 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005531/1.129, allocations: 0.6036 MB / 1.169 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.046e-05/1.129, allocations: 169.1 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/1.129, allocations: 88.08 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/1.129, allocations: 75.28 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/1.129, allocations: 105.8 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/1.129, allocations: 0 / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 9.23e-05/1.13, allocations: 37.59 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.283e-05/1.13, allocations: 126.7 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/1.13, allocations: 161.8 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/1.13, allocations: 25.7 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/1.13, allocations: 96.14 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-06/1.13, allocations: 0 / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/1.13, allocations: 13.72 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.13, allocations: 318.8 kB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-06/1.13, allocations: 0 / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.619e-05/1.13, allocations: 8 kB / 1.17 GB, free: 180 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/1.13, allocations: 83.31 kB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-05/1.13, allocations: 75.28 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.453e-05/1.13, allocations: 33.64 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/1.13, allocations: 83.28 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.531e-05/1.13, allocations: 79.27 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.609e-05/1.13, allocations: 150.6 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.126e-05/1.13, allocations: 79.22 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-05/1.131, allocations: 158.6 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/1.131, allocations: 95.05 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/1.131, allocations: 75.28 kB / 1.171 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.0001384/1.131, allocations: 268.4 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.415e-05/1.131, allocations: 116.9 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.01e-05/1.131, allocations: 112.8 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.884e-05/1.131, allocations: 180.3 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.602e-05/1.131, allocations: 180.2 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.85e-05/1.131, allocations: 188.2 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/1.132, allocations: 421.1 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-05/1.132, allocations: 105 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/1.132, allocations: 105 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-05/1.132, allocations: 188.2 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-05/1.132, allocations: 176.6 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.2e-05/1.132, allocations: 184.2 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.079e-05/1.132, allocations: 184.2 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/1.132, allocations: 315.7 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.763e-05/1.132, allocations: 190 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/1.132, allocations: 184.2 kB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.893e-05/1.132, allocations: 101 kB / 1.174 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.193e-05/1.133, allocations: 180.2 kB / 1.174 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.701e-05/1.133, allocations: 116.9 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00011/1.133, allocations: 121.9 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.3e-07/1.133, allocations: 0 / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002879/1.133, allocations: 4 kB / 1.174 GB, free: 11.5 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.0001747/1.133, allocations: 174.5 kB / 1.174 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.4e-05/1.133, allocations: 3.984 kB / 1.174 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.133, allocations: 0 / 1.174 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.085e-06/1.133, allocations: 4 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/1.134, allocations: 467.6 kB / 1.175 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/1.134, allocations: 204.1 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/1.134, allocations: 0.6924 MB / 1.176 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.923e-05/1.134, allocations: 4 kB / 1.176 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/1.135, allocations: 11.44 kB / 1.176 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of SimCode: time 4.31e-07/1.135, allocations: 0 / 1.176 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of Templates: time 0.00302/1.138, allocations: 412.5 kB / 1.176 GB, free: 9.484 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