Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008959/0.008959, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.002317/0.002318, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.506/1.506, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.545/2.545, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 62.72 kB / 0.9508 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3772, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001901/0.3791, allocations: 0.594 MB / 1.089 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004115/0.3796, allocations: 116 kB / 1.089 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.65e-05/0.3796, allocations: 0 / 1.089 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.3798, allocations: 11.88 kB / 1.089 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.3801, allocations: 23.92 kB / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.715e-05/0.3802, allocations: 11.97 kB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.576e-05/0.3803, allocations: 23.98 kB / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.3804, allocations: 27.98 kB / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.3806, allocations: 51.91 kB / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.22e-05/0.3806, allocations: 19.86 kB / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.3807, allocations: 0 / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.3807, allocations: 4 kB / 1.089 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.3807, allocations: 19.91 kB / 1.089 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.3808, allocations: 15.88 kB / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.181e-05/0.3809, allocations: 51.81 kB / 1.089 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3809, allocations: 0 / 1.089 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3809, allocations: 0 / 1.089 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3809, allocations: 4 kB / 1.089 GB, free: 0.5508 MB / 0.8419 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.0004256/0.3813, allocations: 351.3 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3814, allocations: 8.031 kB / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.3814, allocations: 4.938 kB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.3816, allocations: 188.2 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3817, allocations: 384 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.3817, allocations: 4.375 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.3818, allocations: 92.3 kB / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3819, allocations: 0 / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3819, allocations: 4 kB / 1.089 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3819, allocations: 0 / 1.089 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.041e-05/0.3819, allocations: 23.92 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005666/0.3825, allocations: 0.6011 MB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.3826, allocations: 169.1 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.553e-05/0.3827, allocations: 80.14 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.539e-05/0.3827, allocations: 79.27 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.3828, allocations: 105.8 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3828, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.204e-05/0.3829, allocations: 45.62 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.383, allocations: 126.7 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.3831, allocations: 163.1 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.3832, allocations: 25.7 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.652e-05/0.3832, allocations: 96.12 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.3832, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.3833, allocations: 13.72 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3834, allocations: 318.8 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-06/0.3834, allocations: 4 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.347e-05/0.3834, allocations: 3.984 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.187e-05/0.3835, allocations: 79.22 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.67e-05/0.3835, allocations: 75.28 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.826e-05/0.3836, allocations: 41.55 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.401e-05/0.3836, allocations: 79.28 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/0.3837, allocations: 80.64 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.459e-05/0.3837, allocations: 158.6 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.774e-05/0.3838, allocations: 83.22 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.448e-05/0.3838, allocations: 162.5 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.384, allocations: 87.06 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.384, allocations: 79.28 kB / 1.092 GB, free: 12.93 MB / 0.8575 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.0001408/0.3842, allocations: 272.4 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.3842, allocations: 105 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.14e-05/0.3843, allocations: 112.8 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.767e-05/0.3843, allocations: 184.3 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.658e-05/0.3844, allocations: 188.1 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-05/0.3845, allocations: 180.3 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.3848, allocations: 421.5 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.594e-05/0.3848, allocations: 104.9 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/0.3849, allocations: 101 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.995e-05/0.3849, allocations: 184.2 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.928e-05/0.385, allocations: 184.3 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.902e-05/0.3851, allocations: 180.2 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.889e-05/0.3852, allocations: 188.1 kB / 1.094 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.3853, allocations: 311.7 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3854, allocations: 186 kB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-05/0.3855, allocations: 188.2 kB / 1.095 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.3856, allocations: 105 kB / 1.095 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/0.3857, allocations: 180.2 kB / 1.095 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.3857, allocations: 112.9 kB / 1.095 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.232e-05/0.3858, allocations: 125.1 kB / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3858, allocations: 0 / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002518/0.3861, allocations: 0 / 1.096 GB, free: 9.168 MB / 0.8575 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.0001365/0.3862, allocations: 178.5 kB / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 4.79e-05/0.3863, allocations: 0 / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3863, allocations: 0 / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.3863, allocations: 0 / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.3867, allocations: 467.6 kB / 1.096 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.3869, allocations: 212.3 kB / 1.096 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.3873, allocations: 0.6885 MB / 1.097 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.767e-05/0.3873, allocations: 4 kB / 1.097 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.3873, allocations: 7.438 kB / 1.097 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3873, allocations: 0 / 1.097 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of Templates: time 0.002222/0.3896, allocations: 400.5 kB / 1.097 GB, free: 7.172 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches