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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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") [: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 9.1.1-maint.9.1.x/package.mo): time 1.762/1.762, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001003/0.001003, allocations: 188.4 kB / 487 MB, free: 5.398 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.144/1.144, allocations: 221.3 MB / 0.7819 GB, free: 1.496 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008146/0.0008146, allocations: 96.75 kB / 0.9213 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.943e-06/6.963e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1994, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5119/0.7114, allocations: 147.9 MB / 1.35 GB, free: 16.21 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001707/0.7116, allocations: 64.89 kB / 1.35 GB, free: 16.21 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.00226/0.7139, allocations: 0.6751 MB / 1.35 GB, free: 16.18 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.7139, allocations: 2.188 kB / 1.35 GB, free: 16.18 MB / 0.8073 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.0001688/0.7141, allocations: 341.8 kB / 1.351 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.7141, allocations: 10.77 kB / 1.351 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.7141, allocations: 2.625 kB / 1.351 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.7143, allocations: 181.4 kB / 1.351 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.7143, allocations: 1.156 kB / 1.351 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.7143, allocations: 2.375 kB / 1.351 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.547e-05/0.7144, allocations: 29.41 kB / 1.351 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.181e-05/0.7145, allocations: 74.56 kB / 1.351 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.7145, allocations: 3.984 kB / 1.351 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.7145, allocations: 0 / 1.351 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.7145, allocations: 1.938 kB / 1.351 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.7148, allocations: 0.5671 MB / 1.352 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.039e-05/0.7148, allocations: 167.2 kB / 1.352 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.7148, allocations: 84.08 kB / 1.352 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.7148, allocations: 79.22 kB / 1.352 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.7149, allocations: 114.9 kB / 1.352 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.7149, allocations: 0 / 1.352 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.445e-05/0.7149, allocations: 29.62 kB / 1.352 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.256e-05/0.715, allocations: 52.44 kB / 1.352 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.929e-05/0.715, allocations: 108.7 kB / 1.352 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.583e-06/0.715, allocations: 25.7 kB / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.207e-05/0.7151, allocations: 97.97 kB / 1.352 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.7151, allocations: 1.125 kB / 1.352 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/0.7151, allocations: 0 / 1.352 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.837e-05/0.7151, allocations: 325 kB / 1.353 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-06/0.7151, allocations: 0 / 1.353 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.13e-05/0.7151, allocations: 2.531 kB / 1.353 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.595e-05/0.7152, allocations: 81.97 kB / 1.353 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.7152, allocations: 75.28 kB / 1.353 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.774e-05/0.7152, allocations: 29.33 kB / 1.353 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.7152, allocations: 5.406 kB / 1.353 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.7152, allocations: 76.97 kB / 1.353 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.7153, allocations: 159.8 kB / 1.353 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-06/0.7153, allocations: 76.66 kB / 1.353 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/0.7153, allocations: 155.9 kB / 1.353 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.7154, allocations: 83.88 kB / 1.353 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.7154, allocations: 76.38 kB / 1.353 GB, free: 13.12 MB / 0.8073 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 4.854e-05/0.7155, allocations: 260.9 kB / 1.354 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.7155, allocations: 107.9 kB / 1.354 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.7155, allocations: 117.2 kB / 1.354 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/0.7155, allocations: 180.1 kB / 1.354 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.547e-05/0.7156, allocations: 186.6 kB / 1.354 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.15e-05/0.7156, allocations: 182 kB / 1.354 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.7157, allocations: 394.5 kB / 1.355 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/0.7157, allocations: 102.3 kB / 1.355 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.275e-05/0.7158, allocations: 106.3 kB / 1.355 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-05/0.7158, allocations: 182.5 kB / 1.355 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.7158, allocations: 177.6 kB / 1.355 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.21e-05/0.7158, allocations: 186.1 kB / 1.355 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.192e-05/0.7159, allocations: 185.5 kB / 1.356 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.542e-05/0.7159, allocations: 305.6 kB / 1.356 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.689e-05/0.716, allocations: 184.8 kB / 1.356 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.716, allocations: 179.9 kB / 1.356 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.876e-05/0.716, allocations: 112.9 kB / 1.356 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.7161, allocations: 180.4 kB / 1.357 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.7161, allocations: 101 kB / 1.357 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.429e-05/0.7162, allocations: 97.94 kB / 1.357 GB, free: 25.55 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002202/0.7164, allocations: 7.875 kB / 1.357 GB, free: 25.55 MB / 0.823 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 0.0001108/0.7165, allocations: 174.7 kB / 1.357 GB, free: 25.39 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 3.39e-05/0.7165, allocations: 9.312 kB / 1.357 GB, free: 25.38 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7165, allocations: 0 / 1.357 GB, free: 25.38 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.7166, allocations: 0 / 1.357 GB, free: 25.38 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.7168, allocations: 0.5206 MB / 1.357 GB, free: 24.86 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002102/0.717, allocations: 158.7 kB / 1.358 GB, free: 24.71 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.7173, allocations: 0.6999 MB / 1.358 GB, free: 24.01 MB / 0.823 GB Notification: Performance of SimCode: time 1.91e-07/0.7173, allocations: 1.375 kB / 1.358 GB, free: 24.01 MB / 0.823 GB Notification: Performance of Templates: time 0.001551/0.7189, allocations: 266.4 kB / 1.359 GB, free: 23.95 MB / 0.823 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches