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/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.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") [: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.801/1.801, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001041/0.001042, allocations: 184.8 kB / 487 MB, free: 5.367 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.159/1.159, allocations: 221.3 MB / 0.7819 GB, free: 1.367 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.0007745/0.0007744, allocations: 101.2 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 4.609e-06/4.629e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.193, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5386/0.7316, allocations: 147.9 MB / 1.35 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001873/0.7319, allocations: 67.7 kB / 1.35 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002337/0.7342, allocations: 0.6745 MB / 1.35 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.7342, allocations: 5.281 kB / 1.35 GB, free: 15.91 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.0001828/0.7344, allocations: 337.9 kB / 1.351 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.7345, allocations: 10.28 kB / 1.351 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.7345, allocations: 2.938 kB / 1.351 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.7346, allocations: 179.5 kB / 1.351 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.7347, allocations: 0.9375 kB / 1.351 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.7347, allocations: 3.25 kB / 1.351 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.94e-05/0.7347, allocations: 23.89 kB / 1.351 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.7349, allocations: 78.56 kB / 1.351 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.7349, allocations: 0 / 1.351 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.7349, allocations: 1.25 kB / 1.351 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.7349, allocations: 1.281 kB / 1.351 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.7352, allocations: 0.5701 MB / 1.352 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.795e-05/0.7352, allocations: 166.4 kB / 1.352 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.421e-05/0.7352, allocations: 81.42 kB / 1.352 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.7353, allocations: 78.66 kB / 1.352 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.7353, allocations: 116.2 kB / 1.352 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.7353, allocations: 0.9375 kB / 1.352 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.692e-05/0.7353, allocations: 28.27 kB / 1.352 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.719e-05/0.7354, allocations: 52.53 kB / 1.352 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.807e-05/0.7354, allocations: 116.4 kB / 1.352 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.552e-06/0.7354, allocations: 25.7 kB / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.558e-05/0.7355, allocations: 91.55 kB / 1.352 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.072e-06/0.7355, allocations: 5.281 kB / 1.352 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/0.7355, allocations: 0 / 1.352 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.843e-05/0.7355, allocations: 318.3 kB / 1.353 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.385e-06/0.7355, allocations: 0 / 1.353 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.088e-05/0.7356, allocations: 2.5 kB / 1.353 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.418e-05/0.7356, allocations: 76.47 kB / 1.353 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.7356, allocations: 79.22 kB / 1.353 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.76e-05/0.7356, allocations: 34.69 kB / 1.353 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.7357, allocations: 9.125 kB / 1.353 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.7357, allocations: 81.97 kB / 1.353 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.7357, allocations: 151.8 kB / 1.353 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.754e-06/0.7357, allocations: 79.22 kB / 1.353 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.7357, allocations: 158.1 kB / 1.353 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.809e-05/0.7358, allocations: 76.59 kB / 1.353 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.7358, allocations: 79.22 kB / 1.353 GB, free: 12.86 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.312e-05/0.7359, allocations: 258.4 kB / 1.354 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.7359, allocations: 107.4 kB / 1.354 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.7359, allocations: 120.4 kB / 1.354 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.736, allocations: 177.5 kB / 1.354 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.219e-05/0.736, allocations: 181.8 kB / 1.354 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/0.736, allocations: 185.5 kB / 1.354 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.7361, allocations: 395.3 kB / 1.355 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.7361, allocations: 106.2 kB / 1.355 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.297e-05/0.7362, allocations: 107.7 kB / 1.355 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.946e-05/0.7362, allocations: 177.5 kB / 1.355 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.7362, allocations: 181.5 kB / 1.355 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.899e-05/0.7362, allocations: 181.6 kB / 1.355 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.256e-05/0.7363, allocations: 180.7 kB / 1.356 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.495e-05/0.7363, allocations: 308.3 kB / 1.356 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.7364, allocations: 181.7 kB / 1.356 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.7364, allocations: 183.2 kB / 1.356 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.766e-05/0.7364, allocations: 108.9 kB / 1.356 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.7366, allocations: 186.7 kB / 1.357 GB, free: 25.48 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.7366, allocations: 102.3 kB / 1.357 GB, free: 25.37 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.158e-05/0.7367, allocations: 94.52 kB / 1.357 GB, free: 25.29 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000241/0.7369, allocations: 4.094 kB / 1.357 GB, free: 25.29 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.0001155/0.737, allocations: 181.2 kB / 1.357 GB, free: 25.12 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 3.146e-05/0.7371, allocations: 3.938 kB / 1.357 GB, free: 25.12 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.7371, allocations: 1.438 kB / 1.357 GB, free: 25.12 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.7371, allocations: 0 / 1.357 GB, free: 25.12 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.7373, allocations: 0.5204 MB / 1.357 GB, free: 24.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000202/0.7375, allocations: 158.2 kB / 1.358 GB, free: 24.45 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.7378, allocations: 0.7009 MB / 1.358 GB, free: 23.75 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.7378, allocations: 0 / 1.358 GB, free: 23.75 MB / 0.823 GB Notification: Performance of Templates: time 0.001601/0.7394, allocations: 262.6 kB / 1.358 GB, free: 23.7 MB / 0.823 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches