Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.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.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions") [: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 2.036/2.036, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001094/0.001094, allocations: 181.2 kB / 487 MB, free: 5.328 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.335/1.335, allocations: 221.3 MB / 0.7819 GB, free: 1.301 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.000988/0.000988, allocations: 101.9 kB / 0.9213 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.913e-06/6.923e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2635, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6403/0.9038, allocations: 149.2 MB / 1.351 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001823/0.904, allocations: 80.17 kB / 1.351 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.004554/0.9086, allocations: 1.442 MB / 1.352 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.9086, allocations: 2.812 kB / 1.352 GB, free: 15.7 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003333/0.9089, allocations: 381.7 kB / 1.353 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.909, allocations: 10.16 kB / 1.353 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.909, allocations: 12.97 kB / 1.353 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.9092, allocations: 202 kB / 1.353 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.9092, allocations: 2.219 kB / 1.353 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.9092, allocations: 6.625 kB / 1.353 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001453/0.9093, allocations: 63.2 kB / 1.353 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.9095, allocations: 85.58 kB / 1.353 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.9095, allocations: 5.219 kB / 1.353 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.9095, allocations: 1.828 kB / 1.353 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.9095, allocations: 1.5 kB / 1.353 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/0.91, allocations: 362.2 kB / 1.353 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.063e-05/0.9101, allocations: 44.84 kB / 1.354 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.045e-05/0.9102, allocations: 37.34 kB / 1.354 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.9102, allocations: 4.141 kB / 1.354 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.376e-05/0.9102, allocations: 31.53 kB / 1.354 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.9102, allocations: 0 / 1.354 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0002461/0.9105, allocations: 94.67 kB / 1.354 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.72e-05/0.9105, allocations: 57.88 kB / 1.354 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.078e-05/0.9106, allocations: 117 kB / 1.354 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.9106, allocations: 34.36 kB / 1.354 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.32e-05/0.9106, allocations: 98.95 kB / 1.354 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.9106, allocations: 15.14 kB / 1.354 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.9107, allocations: 0 / 1.354 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.165e-05/0.9107, allocations: 320.8 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.377e-05/0.9108, allocations: 24.83 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.174e-05/0.9108, allocations: 24.23 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.496e-05/0.9109, allocations: 27.53 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.9109, allocations: 0 / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001625/0.9111, allocations: 104.5 kB / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.9111, allocations: 4.594 kB / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.9111, allocations: 0.75 kB / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.9111, allocations: 1.969 kB / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.9113, allocations: 23.17 kB / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.9113, allocations: 5.125 kB / 1.354 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.107e-05/0.9114, allocations: 14.41 kB / 1.355 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.9114, allocations: 4.266 kB / 1.355 GB, free: 14.06 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 (6): * Single equations (assignments): 6 * 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.434e-05/0.9114, allocations: 105.1 kB / 1.355 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.9115, allocations: 12.52 kB / 1.355 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.9117, allocations: 115.6 kB / 1.355 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.9117, allocations: 1.891 kB / 1.355 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.9117, allocations: 0 / 1.355 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.9117, allocations: 4.688 kB / 1.355 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.9119, allocations: 185.1 kB / 1.355 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.9119, allocations: 5.875 kB / 1.355 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.912, allocations: 28.72 kB / 1.355 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.912, allocations: 5.422 kB / 1.355 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.9121, allocations: 2.125 kB / 1.355 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.9121, allocations: 0.75 kB / 1.355 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9121, allocations: 1.219 kB / 1.355 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001802/0.9123, allocations: 197.7 kB / 1.355 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.9123, allocations: 83.48 kB / 1.355 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.9123, allocations: 4.938 kB / 1.355 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.9124, allocations: 11.81 kB / 1.355 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.9125, allocations: 9.266 kB / 1.355 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.9125, allocations: 3.25 kB / 1.355 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.656e-05/0.9125, allocations: 103.8 kB / 1.355 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002222/0.9128, allocations: 12.53 kB / 1.355 GB, free: 13.41 MB / 0.8073 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 (6): * Single equations (assignments): 6 * 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 9.964e-05/0.9129, allocations: 100.2 kB / 1.355 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.913, allocations: 76.2 kB / 1.356 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.913, allocations: 0 / 1.356 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.7e-05/0.9131, allocations: 38.47 kB / 1.356 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.9132, allocations: 13.12 kB / 1.356 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000297/0.9135, allocations: 138.3 kB / 1.356 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.9138, allocations: 0.7153 MB / 1.356 GB, free: 28.52 MB / 0.823 GB Notification: Performance of SimCode: time 2.11e-07/0.9138, allocations: 0 / 1.356 GB, free: 28.52 MB / 0.823 GB Notification: Performance of Templates: time 0.002638/0.9164, allocations: 0.7885 MB / 1.357 GB, free: 28.46 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches