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.001439/0.001439, allocations: 109 kB / 16.41 MB, free: 6.438 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.001629/0.001629, allocations: 191.2 kB / 17.34 MB, free: 5.742 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.508/2.508, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.91 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7557/0.7571, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.001677/0.7588, allocations: 0.6325 MB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003615/0.7592, allocations: 107.7 kB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.166e-05/0.7593, allocations: 0 / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.333e-05/0.7594, allocations: 3.938 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.7597, allocations: 31.91 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.182e-05/0.7598, allocations: 7.984 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.66e-05/0.7599, allocations: 31.86 kB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.957e-05/0.76, allocations: 23.98 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.7601, allocations: 55.89 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.267e-05/0.7602, allocations: 19.91 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.7602, allocations: 0 / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.7602, allocations: 4 kB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.859e-05/0.7603, allocations: 8 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.7603, allocations: 23.86 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.771e-05/0.7604, allocations: 43.83 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.7604, allocations: 0 / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7604, allocations: 0 / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.7604, allocations: 0 / 1.209 GB, free: 12.65 MB / 0.9356 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.000301/0.7607, allocations: 362.8 kB / 1.21 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.7608, allocations: 8.031 kB / 1.21 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.7608, allocations: 4.938 kB / 1.21 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.7609, allocations: 190.3 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.761, allocations: 4.359 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.761, allocations: 4.375 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.7611, allocations: 76.81 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.7611, allocations: 8.125 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.7611, allocations: 7.938 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.7612, allocations: 0 / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.334e-05/0.7612, allocations: 23.97 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.7616, allocations: 0.6089 MB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.724e-05/0.7617, allocations: 169.1 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.7617, allocations: 84.08 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.7618, allocations: 75.28 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.7618, allocations: 109.8 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.7618, allocations: 0 / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 6.841e-05/0.7619, allocations: 33.61 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.7619, allocations: 130.7 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.7621, allocations: 159.7 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.7621, allocations: 25.7 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.7622, allocations: 92.14 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-06/0.7622, allocations: 0 / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.7622, allocations: 13.72 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.7623, allocations: 322.8 kB / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-06/0.7623, allocations: 11.94 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.812e-05/0.7623, allocations: 0 / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.346e-05/0.7623, allocations: 75.28 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.443e-05/0.7624, allocations: 75.28 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.962e-05/0.7624, allocations: 33.7 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.7625, allocations: 83.22 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.7625, allocations: 83.2 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.546e-05/0.7626, allocations: 158.6 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.173e-05/0.7626, allocations: 79.28 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.65e-05/0.7626, allocations: 154.5 kB / 1.213 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.7628, allocations: 83.12 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.7628, allocations: 83.22 kB / 1.213 GB, free: 9.027 MB / 0.9356 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.0001062/0.7629, allocations: 268.4 kB / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.763, allocations: 109 kB / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.763, allocations: 112.8 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.818e-05/0.7631, allocations: 188.2 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.987e-05/0.7632, allocations: 176.3 kB / 1.213 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-05/0.7632, allocations: 192.2 kB / 1.214 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.7634, allocations: 421.2 kB / 1.214 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.211e-05/0.7635, allocations: 101 kB / 1.214 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.912e-05/0.7635, allocations: 108.9 kB / 1.214 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.134e-05/0.7636, allocations: 184.2 kB / 1.214 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-05/0.7636, allocations: 180.5 kB / 1.215 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.517e-05/0.7637, allocations: 176.3 kB / 1.215 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.233e-05/0.7637, allocations: 184.3 kB / 1.215 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.7639, allocations: 319.6 kB / 1.215 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.7639, allocations: 189.9 kB / 1.215 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.17e-05/0.764, allocations: 180.3 kB / 1.216 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-05/0.7641, allocations: 105 kB / 1.216 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.7641, allocations: 184.2 kB / 1.216 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-05/0.7642, allocations: 108.9 kB / 1.216 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.89e-05/0.7643, allocations: 121.1 kB / 1.216 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7643, allocations: 0 / 1.216 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002506/0.7645, allocations: 4 kB / 1.216 GB, free: 5.266 MB / 0.9356 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.0001194/0.7646, allocations: 170.5 kB / 1.216 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 3.983e-05/0.7647, allocations: 11.92 kB / 1.216 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7647, allocations: 0 / 1.216 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.674e-06/0.7647, allocations: 0 / 1.216 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.765, allocations: 467.7 kB / 1.217 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.7653, allocations: 240.6 kB / 1.217 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.7655, allocations: 0.6962 MB / 1.218 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.7655, allocations: 11.44 kB / 1.218 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.7655, allocations: 0 / 1.218 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of Templates: time 0.001783/0.7673, allocations: 0.7144 MB / 1.218 GB, free: 2.906 MB / 0.9356 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