Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.009305/0.009305, allocations: 101.4 kB / 15.88 MB, free: 5.867 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.0017/0.0017, allocations: 192.8 kB / 16.79 MB, free: 5.809 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.412/1.412, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 390.2 MB / 0.6649 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 59.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6777/0.6793, allocations: 140.4 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.00185/0.6812, allocations: 0.7006 MB / 0.9503 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003561/0.6816, allocations: 116.2 kB / 0.9504 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.6816, allocations: 0 / 0.9504 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.601e-05/0.6818, allocations: 5.766 kB / 0.9504 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002996/0.6821, allocations: 21.83 kB / 0.9504 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.7e-05/0.6821, allocations: 5.312 kB / 0.9504 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.774e-05/0.6822, allocations: 20.23 kB / 0.9504 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.737e-05/0.6823, allocations: 28.25 kB / 0.9505 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.6825, allocations: 56.7 kB / 0.9505 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.309e-05/0.6825, allocations: 16.05 kB / 0.9505 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.6825, allocations: 2.75 kB / 0.9505 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.799e-06/0.6826, allocations: 5.375 kB / 0.9505 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.6826, allocations: 13.48 kB / 0.9506 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.6826, allocations: 19.94 kB / 0.9506 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.306e-05/0.6827, allocations: 34.94 kB / 0.9506 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6827, allocations: 0 / 0.9506 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.32e-07/0.6827, allocations: 1.375 kB / 0.9506 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.6827, allocations: 0 / 0.9506 GB, free: 8.367 MB / 0.7169 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.0002815/0.683, allocations: 356.4 kB / 0.9509 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.6831, allocations: 8.25 kB / 0.951 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.6831, allocations: 12.97 kB / 0.951 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.6832, allocations: 180.5 kB / 0.9511 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.6833, allocations: 5.688 kB / 0.9511 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.6833, allocations: 3.125 kB / 0.9511 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.6834, allocations: 78.69 kB / 0.9512 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.6834, allocations: 192 / 0.9512 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.6834, allocations: 5.312 kB / 0.9512 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.6835, allocations: 1.375 kB / 0.9512 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.558e-05/0.6835, allocations: 36.28 kB / 0.9513 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.6839, allocations: 0.5993 MB / 0.9518 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.936e-05/0.6839, allocations: 166.5 kB / 0.952 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.6839, allocations: 84.14 kB / 0.9521 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.684, allocations: 75.28 kB / 0.9522 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.684, allocations: 111.2 kB / 0.9523 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.684, allocations: 0 / 0.9523 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.7e-05/0.6841, allocations: 36.3 kB / 0.9523 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.6841, allocations: 128.1 kB / 0.9524 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.6842, allocations: 163.6 kB / 0.9526 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.6843, allocations: 25.7 kB / 0.9526 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.6843, allocations: 96.2 kB / 0.9527 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.6843, allocations: 0 / 0.9527 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/0.6843, allocations: 11.09 kB / 0.9527 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.354e-05/0.6844, allocations: 325.5 kB / 0.953 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-06/0.6844, allocations: 0 / 0.953 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.894e-05/0.6844, allocations: 2.75 kB / 0.953 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.66e-05/0.6844, allocations: 76.66 kB / 0.9531 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/0.6845, allocations: 79.34 kB / 0.9532 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.51e-05/0.6845, allocations: 41.67 kB / 0.9532 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.6845, allocations: 80.78 kB / 0.9533 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.6846, allocations: 78.11 kB / 0.9534 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.215e-05/0.6846, allocations: 158.5 kB / 0.9535 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.079e-05/0.6846, allocations: 80.59 kB / 0.9536 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/0.6846, allocations: 155.9 kB / 0.9537 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.6848, allocations: 88.53 kB / 0.9538 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.6848, allocations: 76.66 kB / 0.9539 GB, free: 4.922 MB / 0.7169 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 6.971e-05/0.6849, allocations: 269.9 kB / 0.9542 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.6849, allocations: 113 kB / 0.9543 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.6849, allocations: 120.2 kB / 0.9544 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-05/0.685, allocations: 186 kB / 0.9546 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.116e-05/0.685, allocations: 180.2 kB / 0.9547 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-05/0.685, allocations: 181.2 kB / 0.9549 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.6852, allocations: 421.8 kB / 0.9553 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.6852, allocations: 102.2 kB / 0.9554 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.421e-05/0.6852, allocations: 106.1 kB / 0.9555 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.649e-05/0.6853, allocations: 188.2 kB / 0.9557 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.6853, allocations: 185.2 kB / 0.9559 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.218e-05/0.6853, allocations: 181.6 kB / 0.956 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.298e-05/0.6853, allocations: 181.2 kB / 0.9562 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.813e-05/0.6854, allocations: 317.8 kB / 0.9565 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.6855, allocations: 184.8 kB / 0.9567 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.6855, allocations: 181.6 kB / 0.9569 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.485e-05/0.6856, allocations: 102.2 kB / 0.9569 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.6856, allocations: 181.5 kB / 0.9571 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.6856, allocations: 114.3 kB / 0.9572 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.099e-05/0.6857, allocations: 119.9 kB / 0.9573 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6857, allocations: 1.406 kB / 0.9573 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002481/0.686, allocations: 2.625 kB / 0.9573 GB, free: 1.227 MB / 0.7169 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 9.198e-05/0.6861, allocations: 171.8 kB / 0.9575 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.153e-05/0.6861, allocations: 1.531 kB / 0.9575 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6861, allocations: 0 / 0.9575 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.6861, allocations: 5.406 kB / 0.9575 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.6864, allocations: 0.534 MB / 0.958 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000229/0.6866, allocations: 245.5 kB / 0.9583 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.6869, allocations: 0.6912 MB / 0.9589 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.6869, allocations: 9.906 kB / 0.959 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.6869, allocations: 3.938 kB / 0.959 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of Templates: time 0.001965/0.6889, allocations: 0.7043 MB / 0.9597 GB, free: 15.22 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches