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.008424/0.008424, allocations: 101.7 kB / 15.73 MB, free: 5.953 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.001995/0.001995, allocations: 187 kB / 16.67 MB, free: 5.883 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.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.77/2.77, allocations: 461.8 MB / 0.7347 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 59.91 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3855, allocations: 157.4 MB / 1.208 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002088/0.3877, allocations: 0.6348 MB / 1.208 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003841/0.3881, allocations: 103.7 kB / 1.208 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.864e-05/0.3881, allocations: 0 / 1.208 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.3882, allocations: 3.938 kB / 1.208 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004/0.3887, allocations: 31.91 kB / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.323e-05/0.3887, allocations: 4 kB / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.199e-05/0.3888, allocations: 35.91 kB / 1.209 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.389, allocations: 20 kB / 1.209 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.3891, allocations: 59.88 kB / 1.209 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.081e-05/0.3892, allocations: 15.92 kB / 1.209 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.3892, allocations: 4 kB / 1.209 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-06/0.3892, allocations: 4 kB / 1.209 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.3893, allocations: 15.98 kB / 1.209 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.3893, allocations: 15.88 kB / 1.209 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.076e-05/0.3894, allocations: 43.81 kB / 1.209 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3894, allocations: 0 / 1.209 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.266e-06/0.3894, allocations: 0 / 1.209 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.3894, allocations: 3.938 kB / 1.209 GB, free: 8.684 MB / 0.9669 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.0003529/0.3898, allocations: 359.2 kB / 1.209 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3898, allocations: 8.625 kB / 1.209 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.3899, allocations: 12.78 kB / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.3901, allocations: 180.3 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3901, allocations: 8.375 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.3901, allocations: 384 / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.3903, allocations: 80.75 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3903, allocations: 192 / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3903, allocations: 7.938 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3903, allocations: 0 / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.019e-05/0.3904, allocations: 27.97 kB / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.3908, allocations: 0.5972 MB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.137e-05/0.3909, allocations: 173.1 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/0.391, allocations: 88.12 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.391, allocations: 79.28 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.3911, allocations: 105.8 kB / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3911, allocations: 0 / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.68e-05/0.3912, allocations: 33.61 kB / 1.21 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.3912, allocations: 126.7 kB / 1.211 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.3914, allocations: 159.5 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.3914, allocations: 29.7 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/0.3915, allocations: 96.14 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.729e-06/0.3915, allocations: 3.938 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/0.3915, allocations: 13.66 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3917, allocations: 322.8 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-06/0.3917, allocations: 0 / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.314e-05/0.3917, allocations: 8 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.649e-05/0.3917, allocations: 75.28 kB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.149e-05/0.3918, allocations: 79.31 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.293e-05/0.3918, allocations: 33.61 kB / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.3919, allocations: 83.27 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.3919, allocations: 79.22 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.607e-05/0.392, allocations: 154.6 kB / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.564e-05/0.392, allocations: 79.31 kB / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.432e-05/0.3921, allocations: 155 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.3922, allocations: 87.22 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.3923, allocations: 87.22 kB / 1.212 GB, free: 5.059 MB / 0.9669 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.0001219/0.3924, allocations: 268.4 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.3924, allocations: 108.9 kB / 1.212 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.678e-05/0.3925, allocations: 113 kB / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.56e-05/0.3926, allocations: 192.1 kB / 1.213 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-05/0.3926, allocations: 180.3 kB / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.197e-05/0.3927, allocations: 184.1 kB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.3929, allocations: 417.2 kB / 1.213 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.195e-05/0.393, allocations: 101 kB / 1.213 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.642e-05/0.393, allocations: 112.9 kB / 1.214 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.119e-05/0.3931, allocations: 180.3 kB / 1.214 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.759e-05/0.3932, allocations: 184.2 kB / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.629e-05/0.3932, allocations: 176.3 kB / 1.214 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.972e-05/0.3933, allocations: 184.2 kB / 1.214 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.3935, allocations: 315.8 kB / 1.215 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-05/0.3936, allocations: 189.9 kB / 1.215 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.014e-05/0.3936, allocations: 176.3 kB / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.3937, allocations: 108.9 kB / 1.215 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.432e-05/0.3938, allocations: 180.3 kB / 1.215 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/0.3939, allocations: 112.9 kB / 1.215 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.413e-05/0.3939, allocations: 120.8 kB / 1.215 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.673e-06/0.394, allocations: 0 / 1.215 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002569/0.3942, allocations: 7.938 kB / 1.215 GB, free: 1.301 MB / 0.9669 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.0001528/0.3944, allocations: 178.5 kB / 1.216 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.265e-05/0.3944, allocations: 0 / 1.216 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3944, allocations: 4 kB / 1.216 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.3945, allocations: 0 / 1.216 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.3948, allocations: 468.4 kB / 1.216 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.3952, allocations: 219.9 kB / 1.216 GB, free: 420 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.3955, allocations: 0.6924 MB / 1.217 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.796e-05/0.3955, allocations: 4 kB / 1.217 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.3956, allocations: 7.438 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.3956, allocations: 4 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of Templates: time 0.002659/0.3982, allocations: 415.5 kB / 1.217 GB, free: 15.28 MB / 0.9825 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