Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001485/0.001485, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001228, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.477/1.477, allocations: 222.9 MB / 240.2 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.919/2.919, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 70.23 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3944, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001999/0.3965, allocations: 0.6366 MB / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003814/0.3969, allocations: 115.7 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.923e-05/0.3969, allocations: 3.938 kB / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.397, allocations: 4 kB / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003976/0.3975, allocations: 23.92 kB / 1.069 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.251e-05/0.3975, allocations: 11.98 kB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.801e-05/0.3976, allocations: 27.92 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3977, allocations: 19.98 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.3979, allocations: 62.06 kB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.422e-05/0.398, allocations: 11.92 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.398, allocations: 4 kB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.152e-05/0.398, allocations: 4 kB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.398, allocations: 15.92 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.3981, allocations: 19.88 kB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.952e-05/0.3982, allocations: 43.86 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3982, allocations: 4 kB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.725e-06/0.3982, allocations: 4 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.3982, allocations: 0 / 1.069 GB, free: 9.398 MB / 0.8262 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.000383/0.3986, allocations: 347.5 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3987, allocations: 12.03 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.3987, allocations: 4.875 kB / 1.07 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.3989, allocations: 184.3 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.3989, allocations: 384 / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.3989, allocations: 8.375 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.3991, allocations: 76.8 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3991, allocations: 4.125 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3991, allocations: 11.88 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.3991, allocations: 4 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.533e-05/0.3992, allocations: 23.98 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/0.3997, allocations: 0.5972 MB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.774e-05/0.3998, allocations: 173.1 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.133e-05/0.3998, allocations: 88.08 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.3999, allocations: 75.28 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.494e-05/0.3999, allocations: 105.8 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 3.416e-06/0.4, allocations: 3.984 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.599e-05/0.4, allocations: 33.61 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.47e-05/0.4001, allocations: 130.7 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.4003, allocations: 159.2 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.4003, allocations: 25.7 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.4004, allocations: 92.14 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-06/0.4004, allocations: 0 / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.4004, allocations: 13.72 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4006, allocations: 322.8 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.124e-05/0.4006, allocations: 7.938 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.284e-05/0.4006, allocations: 8 kB / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.691e-05/0.4007, allocations: 79.22 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.366e-05/0.4007, allocations: 75.28 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.631e-05/0.4007, allocations: 33.69 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.336e-05/0.4008, allocations: 88.84 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.822e-05/0.4008, allocations: 75.28 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.259e-05/0.4009, allocations: 154.5 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.043e-05/0.401, allocations: 79.31 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.822e-05/0.4011, allocations: 154.5 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.4013, allocations: 87.12 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.4013, allocations: 83.3 kB / 1.072 GB, free: 5.785 MB / 0.8262 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.0001967/0.4015, allocations: 272.3 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.566e-05/0.4016, allocations: 113 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.743e-05/0.4017, allocations: 116.6 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.396e-05/0.4018, allocations: 180.2 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.804e-05/0.4019, allocations: 176.3 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001197/0.4021, allocations: 188.1 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003588/0.4024, allocations: 417.5 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.104e-05/0.4025, allocations: 109 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.013e-05/0.4026, allocations: 105 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/0.4027, allocations: 180.3 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.4028, allocations: 180.2 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.778e-05/0.4029, allocations: 180.3 kB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001074/0.403, allocations: 184.3 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.4032, allocations: 315.5 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.4033, allocations: 193.9 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.4034, allocations: 184.2 kB / 1.075 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.4035, allocations: 105 kB / 1.075 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.4037, allocations: 184.2 kB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.4037, allocations: 104.9 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001245/0.4039, allocations: 119.2 kB / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4039, allocations: 0 / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003362/0.4042, allocations: 4 kB / 1.076 GB, free: 2.023 MB / 0.8262 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.0001804/0.4044, allocations: 177 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.677e-05/0.4045, allocations: 11.94 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4045, allocations: 0 / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/0.4045, allocations: 0 / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.4049, allocations: 467.3 kB / 1.077 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.4053, allocations: 216 kB / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.4056, allocations: 0.6885 MB / 1.077 GB, free: 432 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.829e-05/0.4057, allocations: 4 kB / 1.077 GB, free: 428 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.4057, allocations: 11.44 kB / 1.077 GB, free: 416 kB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.4057, allocations: 0 / 1.077 GB, free: 416 kB / 0.8262 GB Notification: Performance of Templates: time 0.002343/0.408, allocations: 417.5 kB / 1.078 GB, free: 0 / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches