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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.008637/0.008637, allocations: 95.81 kB / 15.73 MB, free: 6.055 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.001671/0.001671, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.562/1.562, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.162/3.162, allocations: 472.6 MB / 0.7453 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 59.91 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4539/0.4552, allocations: 159.9 MB / 1.226 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.002547/0.4578, allocations: 0.6471 MB / 1.226 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006317/0.4585, allocations: 107.7 kB / 1.226 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.994e-05/0.4586, allocations: 4 kB / 1.226 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.4588, allocations: 3.938 kB / 1.226 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005379/0.4594, allocations: 27.91 kB / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.719e-05/0.4595, allocations: 8 kB / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.4596, allocations: 27.95 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.4598, allocations: 27.94 kB / 1.226 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.4599, allocations: 51.89 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.987e-05/0.46, allocations: 15.92 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.46, allocations: 0 / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.4601, allocations: 4 kB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.788e-05/0.4601, allocations: 15.92 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.618e-05/0.4602, allocations: 19.86 kB / 1.227 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.4603, allocations: 43.83 kB / 1.227 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4603, allocations: 0 / 1.227 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.085e-06/0.4603, allocations: 4 kB / 1.227 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.4604, allocations: 3.938 kB / 1.227 GB, free: 8.266 MB / 0.9825 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.0006676/0.461, allocations: 355.3 kB / 1.227 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001698/0.4612, allocations: 8.031 kB / 1.227 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.4613, allocations: 4.938 kB / 1.227 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.4616, allocations: 188.2 kB / 1.227 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.4616, allocations: 384 / 1.227 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.4616, allocations: 4.375 kB / 1.227 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.4619, allocations: 80.81 kB / 1.227 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.4619, allocations: 4.188 kB / 1.227 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.4619, allocations: 3.938 kB / 1.227 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.4619, allocations: 0 / 1.227 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.453e-05/0.462, allocations: 27.91 kB / 1.227 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006893/0.4627, allocations: 0.6129 MB / 1.228 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.4628, allocations: 165.1 kB / 1.228 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.904e-05/0.4629, allocations: 80.14 kB / 1.228 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.259e-05/0.463, allocations: 75.28 kB / 1.228 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.444e-05/0.463, allocations: 117.8 kB / 1.228 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.884e-06/0.463, allocations: 4 kB / 1.228 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001137/0.4632, allocations: 33.66 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.4633, allocations: 126.7 kB / 1.228 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.4635, allocations: 167.4 kB / 1.229 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.4635, allocations: 29.7 kB / 1.229 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.231e-05/0.4636, allocations: 88.14 kB / 1.229 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.4636, allocations: 0 / 1.229 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.4637, allocations: 13.72 kB / 1.229 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.4639, allocations: 330.8 kB / 1.229 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.142e-06/0.4639, allocations: 0 / 1.229 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-05/0.4639, allocations: 0 / 1.229 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.235e-05/0.464, allocations: 75.28 kB / 1.229 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.763e-05/0.4641, allocations: 75.28 kB / 1.229 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.763e-05/0.4642, allocations: 41.59 kB / 1.229 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.516e-05/0.4642, allocations: 79.28 kB / 1.229 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001289/0.4644, allocations: 87.3 kB / 1.229 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.389e-05/0.4645, allocations: 158.5 kB / 1.229 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.172e-05/0.4645, allocations: 83.31 kB / 1.23 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-05/0.4646, allocations: 154.5 kB / 1.23 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.4648, allocations: 83.16 kB / 1.23 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.4648, allocations: 79.28 kB / 1.23 GB, free: 4.637 MB / 0.9825 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.0002037/0.465, allocations: 272.9 kB / 1.23 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.4652, allocations: 112.9 kB / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.988e-05/0.4653, allocations: 113 kB / 1.23 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001001/0.4654, allocations: 184.2 kB / 1.231 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000207/0.4656, allocations: 180.3 kB / 1.231 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.787e-05/0.4657, allocations: 188.2 kB / 1.231 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.4661, allocations: 421.1 kB / 1.231 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002091/0.4663, allocations: 101 kB / 1.231 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.502e-05/0.4664, allocations: 104.9 kB / 1.231 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003341/0.4667, allocations: 184.2 kB / 1.232 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002505/0.467, allocations: 176.3 kB / 1.232 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002399/0.4672, allocations: 184.2 kB / 1.232 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.961e-05/0.4673, allocations: 176.3 kB / 1.232 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.4677, allocations: 319.7 kB / 1.232 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/0.468, allocations: 186 kB / 1.233 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.4681, allocations: 188.2 kB / 1.233 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.4683, allocations: 104.9 kB / 1.233 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.4684, allocations: 184.2 kB / 1.233 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.407e-05/0.4685, allocations: 112.9 kB / 1.233 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002326/0.4687, allocations: 121.6 kB / 1.233 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4687, allocations: 0 / 1.233 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003363/0.4691, allocations: 4 kB / 1.233 GB, free: 0.8711 MB / 0.9825 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.0001897/0.4693, allocations: 174.5 kB / 1.233 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.427e-05/0.4693, allocations: 3.984 kB / 1.233 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4693, allocations: 3.938 kB / 1.233 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.444e-06/0.4694, allocations: 0 / 1.233 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.4698, allocations: 459.7 kB / 1.234 GB, free: 236 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005367/0.4704, allocations: 224 kB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000574/0.471, allocations: 0.6885 MB / 1.235 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.461e-05/0.471, allocations: 4 kB / 1.235 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.471, allocations: 7.438 kB / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.471, allocations: 0 / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of Templates: time 0.003163/0.4742, allocations: 420.9 kB / 1.235 GB, free: 14.85 MB / 0.9981 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