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.007723/0.007723, allocations: 103.9 kB / 15.73 MB, free: 6.445 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.002143/0.002143, allocations: 191.2 kB / 16.67 MB, free: 6.355 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.903/2.903, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 68.09 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3787, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002167/0.3809, allocations: 0.6349 MB / 1.208 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004513/0.3814, allocations: 107.7 kB / 1.208 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.866e-05/0.3815, allocations: 4 kB / 1.208 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.3816, allocations: 3.938 kB / 1.208 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004692/0.3821, allocations: 31.84 kB / 1.208 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.474e-05/0.3822, allocations: 4 kB / 1.208 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.3823, allocations: 31.91 kB / 1.209 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.3824, allocations: 31.97 kB / 1.209 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.3826, allocations: 47.91 kB / 1.209 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.989e-05/0.3827, allocations: 15.92 kB / 1.209 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.3827, allocations: 4 kB / 1.209 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.907e-05/0.3827, allocations: 4 kB / 1.209 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.04e-05/0.3828, allocations: 15.98 kB / 1.209 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.3828, allocations: 15.88 kB / 1.209 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.383, allocations: 47.81 kB / 1.209 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.383, allocations: 3.984 kB / 1.209 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.084e-06/0.383, allocations: 0 / 1.209 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.383, allocations: 0 / 1.209 GB, free: 8.613 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.0004469/0.3834, allocations: 351.3 kB / 1.209 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3835, allocations: 12.62 kB / 1.209 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.3836, allocations: 8.844 kB / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.3838, allocations: 184.2 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3838, allocations: 4.375 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.3839, allocations: 4.375 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.3841, allocations: 76.81 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3841, allocations: 192 / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.3841, allocations: 11.92 kB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.3841, allocations: 0 / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.104e-05/0.3842, allocations: 23.92 kB / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006331/0.3848, allocations: 0.6089 MB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.3849, allocations: 165.1 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.088e-05/0.385, allocations: 80.14 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.385, allocations: 83.22 kB / 1.21 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.552e-05/0.3851, allocations: 105.8 kB / 1.21 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3851, allocations: 0 / 1.21 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.975e-05/0.3852, allocations: 37.61 kB / 1.21 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/0.3853, allocations: 126.7 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.3855, allocations: 159.4 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.3855, allocations: 25.7 kB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.3856, allocations: 96.14 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.3856, allocations: 0 / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.3856, allocations: 13.72 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3857, allocations: 326.7 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.071e-06/0.3857, allocations: 3.938 kB / 1.211 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.449e-05/0.3858, allocations: 7.938 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.918e-05/0.3858, allocations: 75.28 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-05/0.3858, allocations: 79.31 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.211e-05/0.3859, allocations: 37.59 kB / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/0.386, allocations: 83.28 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.789e-05/0.386, allocations: 79.28 kB / 1.211 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.789e-05/0.3861, allocations: 154.5 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.405e-05/0.3861, allocations: 83.31 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.762e-05/0.3862, allocations: 159 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.3863, allocations: 83.22 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.3863, allocations: 75.28 kB / 1.212 GB, free: 4.996 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.0001447/0.3865, allocations: 276.3 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.259e-05/0.3866, allocations: 108.9 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.513e-05/0.3866, allocations: 113 kB / 1.212 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.721e-05/0.3867, allocations: 188.2 kB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-05/0.3868, allocations: 180.3 kB / 1.213 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-05/0.3869, allocations: 184.2 kB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.3871, allocations: 417.1 kB / 1.213 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.618e-05/0.3871, allocations: 105 kB / 1.213 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.581e-05/0.3872, allocations: 108.9 kB / 1.214 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.719e-05/0.3872, allocations: 180.3 kB / 1.214 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-05/0.3873, allocations: 184.2 kB / 1.214 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.244e-05/0.3874, allocations: 176.3 kB / 1.214 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.719e-05/0.3874, allocations: 176.3 kB / 1.214 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.3876, allocations: 323.7 kB / 1.215 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.668e-05/0.3877, allocations: 185.9 kB / 1.215 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.291e-05/0.3878, allocations: 184.2 kB / 1.215 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.959e-05/0.3878, allocations: 109 kB / 1.215 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.3879, allocations: 180.2 kB / 1.215 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/0.388, allocations: 104.9 kB / 1.215 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.592e-05/0.388, allocations: 124.8 kB / 1.215 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3881, allocations: 4 kB / 1.215 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002566/0.3883, allocations: 0 / 1.215 GB, free: 1.238 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.0001424/0.3885, allocations: 182.5 kB / 1.216 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 4.857e-05/0.3885, allocations: 3.938 kB / 1.216 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3885, allocations: 3.938 kB / 1.216 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.3885, allocations: 0 / 1.216 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.3889, allocations: 467.6 kB / 1.216 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.3893, allocations: 222.6 kB / 1.216 GB, free: 348 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.3896, allocations: 0.6923 MB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.637e-05/0.3896, allocations: 4 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.3897, allocations: 11.44 kB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of SimCode: time 6.71e-07/0.3897, allocations: 4 kB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of Templates: time 0.002885/0.3926, allocations: 412.8 kB / 1.217 GB, free: 15.2 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