Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.0008852/0.0008852, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.001025/0.001026, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.769/2.769, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003545, allocations: 8 kB / 0.8728 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7264/0.7268, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001163/0.728, allocations: 376.9 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005646/0.7286, allocations: 111.7 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.663e-05/0.7287, allocations: 0 / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.7289, allocations: 3.938 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004456/0.7293, allocations: 27.92 kB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.6e-05/0.7294, allocations: 7.984 kB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.89e-05/0.7295, allocations: 23.98 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.7297, allocations: 19.98 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.7298, allocations: 55.83 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.552e-05/0.7299, allocations: 15.92 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.7299, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.7299, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.73, allocations: 11.98 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.651e-05/0.73, allocations: 37.58 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.7301, allocations: 47.8 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7302, allocations: 7.938 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7302, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.7302, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.7794 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.0004694/0.7307, allocations: 345.3 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.7307, allocations: 12.03 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.7308, allocations: 4.844 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.731, allocations: 180.4 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.7311, allocations: 4.359 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.7311, allocations: 4.375 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.7313, allocations: 84.75 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.7313, allocations: 192 / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.7313, allocations: 3.938 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.7313, allocations: 4 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.312e-05/0.7314, allocations: 27.91 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.7319, allocations: 0.6011 MB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.916e-05/0.732, allocations: 173.1 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.627e-05/0.7321, allocations: 80.14 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.7321, allocations: 75.28 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.7321, allocations: 109.8 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.7321, allocations: 0 / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.247e-05/0.7322, allocations: 41.55 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.7323, allocations: 130.7 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.7325, allocations: 155.4 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.7325, allocations: 25.7 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.7325, allocations: 96.12 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.7326, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.7326, allocations: 13.72 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.7327, allocations: 322.8 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.607e-06/0.7327, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.04e-05/0.7328, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.128e-05/0.7328, allocations: 79.28 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-05/0.7328, allocations: 75.28 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.66e-05/0.7329, allocations: 37.59 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.7329, allocations: 87.19 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-05/0.733, allocations: 83.31 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.041e-05/0.733, allocations: 154.6 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.513e-05/0.7331, allocations: 79.22 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.176e-05/0.7332, allocations: 154.6 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.7333, allocations: 91.09 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.7334, allocations: 79.27 kB / 1.027 GB, free: 11.5 MB / 0.7794 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.0001514/0.7335, allocations: 268.9 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.7336, allocations: 112.9 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.864e-05/0.7336, allocations: 112.8 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.71e-05/0.7337, allocations: 176.3 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.857e-05/0.7338, allocations: 188.2 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.364e-05/0.7339, allocations: 188.2 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.7341, allocations: 409.5 kB / 1.028 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.701e-05/0.7342, allocations: 112.9 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/0.7342, allocations: 101 kB / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.234e-05/0.7343, allocations: 188.2 kB / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-05/0.7344, allocations: 180.3 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.528e-05/0.7344, allocations: 180.3 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.309e-05/0.7345, allocations: 184.2 kB / 1.029 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.7347, allocations: 315.7 kB / 1.03 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.046e-05/0.7348, allocations: 186 kB / 1.03 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.605e-05/0.7348, allocations: 184.2 kB / 1.03 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.996e-05/0.7349, allocations: 108.9 kB / 1.03 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-05/0.735, allocations: 180.3 kB / 1.03 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.679e-05/0.7351, allocations: 108.9 kB / 1.03 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.337e-05/0.7352, allocations: 124.3 kB / 1.03 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7352, allocations: 0 / 1.03 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002601/0.7355, allocations: 4 kB / 1.03 GB, free: 7.742 MB / 0.7794 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.0001374/0.7356, allocations: 174.5 kB / 1.031 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.038e-05/0.7357, allocations: 0 / 1.031 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7357, allocations: 0 / 1.031 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.7357, allocations: 4 kB / 1.031 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.7361, allocations: 0.5224 MB / 1.031 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.7364, allocations: 217.9 kB / 1.031 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.7367, allocations: 0.6926 MB / 1.032 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.756e-05/0.7367, allocations: 7.906 kB / 1.032 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.92e-05/0.7367, allocations: 7.438 kB / 1.032 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7367, allocations: 4 kB / 1.032 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of Templates: time 0.002493/0.7392, allocations: 408 kB / 1.032 GB, free: 5.652 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches