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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0008664/0.0008664, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00593/0.00593, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.446/1.446, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.821/2.821, allocations: 462.6 MB / 0.7364 GB, free: 240 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004715, allocations: 11.84 kB / 0.9028 GB, free: 36.74 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3846, allocations: 159.6 MB / 1.059 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001042/0.3857, allocations: 367.3 kB / 1.059 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004574/0.3862, allocations: 107.7 kB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/0.3863, allocations: 4 kB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.3864, allocations: 11.94 kB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003974/0.3868, allocations: 19.98 kB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.298e-05/0.3869, allocations: 11.92 kB / 1.059 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.821e-05/0.387, allocations: 27.97 kB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.3871, allocations: 20 kB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.3872, allocations: 47.89 kB / 1.059 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.923e-05/0.3873, allocations: 15.86 kB / 1.059 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.3873, allocations: 0 / 1.059 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-06/0.3874, allocations: 4 kB / 1.059 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.104e-05/0.3874, allocations: 8 kB / 1.059 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.3875, allocations: 49.48 kB / 1.059 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.975e-05/0.3876, allocations: 35.88 kB / 1.059 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3876, allocations: 0 / 1.059 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3876, allocations: 0 / 1.059 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.3876, allocations: 4 kB / 1.059 GB, free: 4.707 MB / 0.8106 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.0003991/0.388, allocations: 351.6 kB / 1.06 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3881, allocations: 8.031 kB / 1.06 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.3881, allocations: 8.844 kB / 1.06 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.3883, allocations: 180.3 kB / 1.06 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.3883, allocations: 4.375 kB / 1.06 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.3884, allocations: 4.375 kB / 1.06 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.3886, allocations: 88.73 kB / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.3886, allocations: 192 / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3886, allocations: 3.938 kB / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3886, allocations: 0 / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.346e-05/0.3887, allocations: 27.92 kB / 1.06 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.3892, allocations: 0.5973 MB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.599e-05/0.3893, allocations: 173.1 kB / 1.061 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/0.3894, allocations: 84.14 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.3894, allocations: 75.28 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.3895, allocations: 109.8 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.3895, allocations: 0 / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.001e-05/0.3896, allocations: 33.61 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.3896, allocations: 134.6 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.3898, allocations: 160.5 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.3898, allocations: 29.64 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.3899, allocations: 92.14 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.3899, allocations: 0 / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.727e-05/0.3899, allocations: 9.719 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.39, allocations: 322.8 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.867e-06/0.39, allocations: 4 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.127e-05/0.39, allocations: 4 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.696e-05/0.3901, allocations: 75.28 kB / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.56e-05/0.3901, allocations: 75.28 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.909e-05/0.3902, allocations: 41.53 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.3902, allocations: 83.28 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.3902, allocations: 83.22 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.824e-05/0.3903, allocations: 154.6 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.437e-05/0.3903, allocations: 79.22 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.992e-05/0.3904, allocations: 154.7 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.3906, allocations: 83.23 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.3906, allocations: 79.22 kB / 1.063 GB, free: 1.102 MB / 0.8106 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.0001184/0.3907, allocations: 276.4 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.3908, allocations: 112.9 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.331e-05/0.3908, allocations: 120.8 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-05/0.3909, allocations: 176.3 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.838e-05/0.391, allocations: 180.3 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.569e-05/0.391, allocations: 188.1 kB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.3913, allocations: 421.2 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.732e-05/0.3913, allocations: 104.9 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.3914, allocations: 105 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.041e-05/0.3914, allocations: 176.3 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.317e-05/0.3915, allocations: 184.2 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.333e-05/0.3916, allocations: 184.2 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.436e-05/0.3917, allocations: 188.2 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.3918, allocations: 307.7 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.663e-05/0.3919, allocations: 190 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.5e-05/0.392, allocations: 184.2 kB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.153e-05/0.3921, allocations: 108.9 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/0.3922, allocations: 176.3 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.3922, allocations: 108.9 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.079e-05/0.3923, allocations: 121 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3923, allocations: 0 / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002538/0.3926, allocations: 4 kB / 1.066 GB, free: 13.34 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.0001651/0.3928, allocations: 184.3 kB / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.205e-05/0.3928, allocations: 0 / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3928, allocations: 0 / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.3928, allocations: 7.938 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.3933, allocations: 0.5224 MB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.3936, allocations: 233.7 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.3938, allocations: 0.6887 MB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.386e-05/0.3938, allocations: 0 / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.3938, allocations: 11.44 kB / 1.068 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3938, allocations: 0 / 1.068 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of Templates: time 0.002427/0.3963, allocations: 407.2 kB / 1.068 GB, free: 11.24 MB / 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