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.001141/0.001141, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001242/0.001242, allocations: 194 kB / 16.14 MB, free: 6.648 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.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.792/2.792, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 71.66 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3491, allocations: 157.4 MB / 1.052 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002161/0.3513, allocations: 0.6975 MB / 1.053 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004299/0.3517, allocations: 103.7 kB / 1.053 GB, free: 8.027 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.014e-05/0.3518, allocations: 0 / 1.053 GB, free: 8.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.3519, allocations: 7.984 kB / 1.053 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.3522, allocations: 23.92 kB / 1.053 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.846e-05/0.3523, allocations: 8 kB / 1.053 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.339e-05/0.3524, allocations: 27.92 kB / 1.053 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3525, allocations: 27.97 kB / 1.053 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.3526, allocations: 51.89 kB / 1.053 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.416e-05/0.3527, allocations: 11.92 kB / 1.053 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.3527, allocations: 4 kB / 1.053 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-06/0.3527, allocations: 0 / 1.053 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.3528, allocations: 19.92 kB / 1.053 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.3528, allocations: 19.86 kB / 1.053 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.828e-05/0.3529, allocations: 43.89 kB / 1.053 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3529, allocations: 0 / 1.053 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.01e-07/0.3529, allocations: 0 / 1.053 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.3529, allocations: 0 / 1.053 GB, free: 7.785 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.0004083/0.3533, allocations: 355.6 kB / 1.053 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3534, allocations: 12.03 kB / 1.053 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.3534, allocations: 8.844 kB / 1.053 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.3536, allocations: 184.2 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3536, allocations: 384 / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.3537, allocations: 4.375 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.3538, allocations: 84.8 kB / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3538, allocations: 4.125 kB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3538, allocations: 3.938 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3539, allocations: 7.938 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.604e-05/0.3539, allocations: 27.95 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.3544, allocations: 0.6089 MB / 1.054 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.083e-05/0.3545, allocations: 169.1 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/0.3545, allocations: 80.14 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.3546, allocations: 79.22 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.3546, allocations: 109.8 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3546, allocations: 0 / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.433e-05/0.3547, allocations: 29.7 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.3548, allocations: 130.7 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.3549, allocations: 161.2 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.355, allocations: 25.7 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.355, allocations: 92.14 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.355, allocations: 4 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.3551, allocations: 13.72 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3552, allocations: 322.8 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-06/0.3552, allocations: 4 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.188e-05/0.3553, allocations: 7.938 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.428e-05/0.3553, allocations: 75.28 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.67e-05/0.3553, allocations: 79.22 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.02e-05/0.3554, allocations: 37.59 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.432e-05/0.3555, allocations: 87.31 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.273e-05/0.3555, allocations: 75.28 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.688e-05/0.3556, allocations: 154.5 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.798e-05/0.3556, allocations: 75.39 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.317e-05/0.3557, allocations: 166.5 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.3559, allocations: 79.22 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.3559, allocations: 79.28 kB / 1.056 GB, free: 4.156 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.0001742/0.3561, allocations: 277.9 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.3562, allocations: 108.9 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.3562, allocations: 112.8 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.225e-05/0.3563, allocations: 180.2 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.049e-05/0.3564, allocations: 188.3 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.887e-05/0.3565, allocations: 184.1 kB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.3568, allocations: 417.2 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-05/0.3568, allocations: 101 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.612e-05/0.3569, allocations: 112.9 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.661e-05/0.357, allocations: 176.3 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.131e-05/0.3571, allocations: 188.2 kB / 1.058 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.109e-05/0.3572, allocations: 176.3 kB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.154e-05/0.3573, allocations: 180.2 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.3574, allocations: 315.6 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.049e-05/0.3575, allocations: 193.9 kB / 1.059 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.214e-05/0.3576, allocations: 180.3 kB / 1.059 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.868e-05/0.3577, allocations: 109 kB / 1.059 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.967e-05/0.3578, allocations: 180.2 kB / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/0.3578, allocations: 104.9 kB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001005/0.3579, allocations: 119.2 kB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3579, allocations: 0 / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003022/0.3582, allocations: 8 kB / 1.06 GB, free: 408 kB / 0.8106 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.0001667/0.3584, allocations: 182.5 kB / 1.06 GB, free: 216 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.315e-05/0.3585, allocations: 3.938 kB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3585, allocations: 0 / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.3585, allocations: 0 / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/0.359, allocations: 0.5302 MB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.3593, allocations: 213.9 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.3596, allocations: 0.6926 MB / 1.061 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.793e-05/0.3597, allocations: 4 kB / 1.061 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.3597, allocations: 11.44 kB / 1.061 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of SimCode: time 3.8e-07/0.3597, allocations: 0 / 1.061 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of Templates: time 0.002373/0.3621, allocations: 409.5 kB / 1.062 GB, free: 14.3 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