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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008854/0.0008854, allocations: 99.34 kB / 16.02 MB, free: 76 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.001017/0.001017, allocations: 184.2 kB / 16.92 MB, free: 6.895 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.428/1.428, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.809/2.809, allocations: 462.6 MB / 0.737 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003817, allocations: 13.09 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2966, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.0008197/0.2974, allocations: 375.3 kB / 1.06 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003945/0.2978, allocations: 103.7 kB / 1.06 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.137e-05/0.2979, allocations: 0 / 1.06 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.23e-05/0.298, allocations: 7.938 kB / 1.06 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.2983, allocations: 27.97 kB / 1.06 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.741e-05/0.2984, allocations: 0 / 1.06 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.2e-05/0.2985, allocations: 35.84 kB / 1.06 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.2986, allocations: 20 kB / 1.06 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.2987, allocations: 55.89 kB / 1.06 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.602e-05/0.2988, allocations: 15.91 kB / 1.06 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.2988, allocations: 0 / 1.06 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.222e-06/0.2988, allocations: 0 / 1.06 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.277e-05/0.2988, allocations: 15.94 kB / 1.06 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.2989, allocations: 41.56 kB / 1.06 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.95e-05/0.299, allocations: 31.94 kB / 1.06 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.299, allocations: 3.938 kB / 1.06 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.342e-06/0.299, allocations: 0 / 1.06 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.299, allocations: 0 / 1.06 GB, free: 4.273 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.0002969/0.2993, allocations: 343.6 kB / 1.06 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2993, allocations: 11.97 kB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.2994, allocations: 8.844 kB / 1.06 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.2995, allocations: 180.3 kB / 1.061 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.2996, allocations: 4.375 kB / 1.061 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.2996, allocations: 8.359 kB / 1.061 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.2997, allocations: 92.67 kB / 1.061 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.2997, allocations: 192 / 1.061 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2998, allocations: 3.938 kB / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2998, allocations: 0 / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.632e-05/0.2998, allocations: 27.97 kB / 1.061 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.3004, allocations: 0.6012 MB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.746e-05/0.3005, allocations: 169.1 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/0.3005, allocations: 80.14 kB / 1.062 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.3006, allocations: 79.28 kB / 1.062 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/0.3006, allocations: 113.8 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.3006, allocations: 0 / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.682e-05/0.3007, allocations: 29.61 kB / 1.062 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.3008, allocations: 130.7 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.301, allocations: 159.8 kB / 1.062 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.301, allocations: 25.7 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.301, allocations: 96.08 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.301, allocations: 4 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.3011, allocations: 9.719 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.3012, allocations: 322.8 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.025e-06/0.3012, allocations: 0 / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.989e-05/0.3012, allocations: 7.938 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.742e-05/0.3012, allocations: 75.28 kB / 1.063 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.968e-05/0.3013, allocations: 75.28 kB / 1.063 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.227e-05/0.3013, allocations: 33.61 kB / 1.063 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/0.3014, allocations: 87.31 kB / 1.063 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/0.3014, allocations: 83.2 kB / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.726e-05/0.3015, allocations: 154.6 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.097e-05/0.3015, allocations: 75.28 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.686e-05/0.3015, allocations: 158.5 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.3017, allocations: 79.22 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.3017, allocations: 83.22 kB / 1.063 GB, free: 0.668 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.0001146/0.3018, allocations: 272.4 kB / 1.064 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.3019, allocations: 108.9 kB / 1.064 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.711e-05/0.302, allocations: 117 kB / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.88e-05/0.302, allocations: 184.2 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-05/0.3021, allocations: 184.3 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.365e-05/0.3022, allocations: 188.1 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.3024, allocations: 425.2 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.27e-05/0.3024, allocations: 104.9 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.3025, allocations: 101 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.324e-05/0.3025, allocations: 180.2 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.915e-05/0.3026, allocations: 188.2 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.366e-05/0.3026, allocations: 176.3 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-05/0.3027, allocations: 180.2 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.3028, allocations: 307.8 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.618e-05/0.3029, allocations: 193.9 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.936e-05/0.303, allocations: 184.3 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.3031, allocations: 104.9 kB / 1.066 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.3031, allocations: 180.2 kB / 1.067 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.3032, allocations: 104.9 kB / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.991e-05/0.3033, allocations: 121.4 kB / 1.067 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3033, allocations: 0 / 1.067 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002584/0.3035, allocations: 8 kB / 1.067 GB, free: 12.91 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.0001197/0.3037, allocations: 174.5 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.902e-05/0.3037, allocations: 11.98 kB / 1.067 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3037, allocations: 0 / 1.067 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.3037, allocations: 0 / 1.067 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.3041, allocations: 0.5263 MB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.3044, allocations: 247.5 kB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.3046, allocations: 0.6887 MB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.115e-05/0.3046, allocations: 7.438 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3046, allocations: 11.88 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of Templates: time 0.002158/0.3068, allocations: 0.6989 MB / 1.069 GB, free: 10.48 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/jenkins1/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