Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.693/1.693, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009072/0.0009072, allocations: 185.2 kB / 490.8 MB, free: 1.957 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.05/1.05, allocations: 221.4 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000814/0.000814, allocations: 102.3 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.76e-06/5.781e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1647, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.441/0.6057, allocations: 148.7 MB / 1.357 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001621/0.6059, allocations: 68.22 kB / 1.357 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.002204/0.6081, allocations: 0.6703 MB / 1.357 GB, free: 17.53 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.6081, allocations: 5.844 kB / 1.357 GB, free: 17.53 MB / 0.823 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.0001961/0.6083, allocations: 330.2 kB / 1.358 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.6084, allocations: 9.906 kB / 1.358 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.6084, allocations: 8.766 kB / 1.358 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.6085, allocations: 176.6 kB / 1.358 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-06/0.6086, allocations: 10.16 kB / 1.358 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.6086, allocations: 2.25 kB / 1.358 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.144e-05/0.6086, allocations: 26.81 kB / 1.358 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.596e-05/0.6087, allocations: 74.53 kB / 1.358 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.6087, allocations: 1.219 kB / 1.358 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.6087, allocations: 0 / 1.358 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.6088, allocations: 1.578 kB / 1.358 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.6091, allocations: 0.5673 MB / 1.359 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.528e-05/0.6091, allocations: 170.1 kB / 1.359 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.337e-05/0.6092, allocations: 89.95 kB / 1.359 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.6092, allocations: 75.28 kB / 1.359 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.6092, allocations: 117.9 kB / 1.359 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.6092, allocations: 0 / 1.359 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.106e-05/0.6093, allocations: 28.55 kB / 1.359 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.127e-05/0.6093, allocations: 52.47 kB / 1.359 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.992e-05/0.6094, allocations: 118.7 kB / 1.359 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.541e-06/0.6094, allocations: 25.7 kB / 1.359 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.6094, allocations: 95.39 kB / 1.359 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.032e-06/0.6094, allocations: 0 / 1.359 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-07/0.6094, allocations: 0 / 1.359 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.999e-05/0.6095, allocations: 318.6 kB / 1.36 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.905e-06/0.6095, allocations: 3.938 kB / 1.36 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.097e-05/0.6095, allocations: 4.969 kB / 1.36 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.188e-05/0.6096, allocations: 75.28 kB / 1.36 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-05/0.6096, allocations: 79.31 kB / 1.36 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.53e-05/0.6096, allocations: 31.12 kB / 1.36 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.6097, allocations: 11.86 kB / 1.36 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.6097, allocations: 76.47 kB / 1.36 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.042e-05/0.6097, allocations: 155.2 kB / 1.36 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.676e-05/0.6097, allocations: 76.95 kB / 1.36 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.564e-05/0.6098, allocations: 155.5 kB / 1.36 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/0.6099, allocations: 85 kB / 1.36 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.6099, allocations: 76.41 kB / 1.361 GB, free: 30.46 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.672e-05/0.6099, allocations: 253.4 kB / 1.361 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.61, allocations: 107.7 kB / 1.361 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.61, allocations: 116.6 kB / 1.361 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.715e-05/0.6101, allocations: 185.7 kB / 1.361 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.782e-05/0.6101, allocations: 181.8 kB / 1.361 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-05/0.6102, allocations: 181.9 kB / 1.361 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.6103, allocations: 392.3 kB / 1.362 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/0.6103, allocations: 102.6 kB / 1.362 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/0.6103, allocations: 106.8 kB / 1.362 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.62e-05/0.6104, allocations: 185.7 kB / 1.362 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.111e-05/0.6104, allocations: 182 kB / 1.362 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.389e-05/0.6105, allocations: 180.8 kB / 1.363 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.688e-05/0.6105, allocations: 181.3 kB / 1.363 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.662e-05/0.6106, allocations: 310.5 kB / 1.363 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.6106, allocations: 192.6 kB / 1.363 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.6107, allocations: 178.8 kB / 1.363 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.639e-05/0.6107, allocations: 110.4 kB / 1.364 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.6108, allocations: 178.2 kB / 1.364 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.6108, allocations: 101.8 kB / 1.364 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.843e-05/0.6109, allocations: 99.84 kB / 1.364 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000214/0.6111, allocations: 7.219 kB / 1.364 GB, free: 26.89 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.963e-05/0.6112, allocations: 173.4 kB / 1.364 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 2.91e-05/0.6112, allocations: 4.781 kB / 1.364 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.6112, allocations: 0 / 1.364 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.6112, allocations: 1.031 kB / 1.364 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.6114, allocations: 0.5206 MB / 1.365 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001642/0.6116, allocations: 155.4 kB / 1.365 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.6118, allocations: 0.6993 MB / 1.365 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.6118, allocations: 1.156 kB / 1.365 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of Templates: time 0.001467/0.6133, allocations: 262.4 kB / 1.366 GB, free: 25.3 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches