Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [: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.922/1.922, 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.001282/0.001282, allocations: 187.8 kB / 487 MB, free: 5.41 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.336/1.336, allocations: 221.3 MB / 0.7819 GB, free: 1.402 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.001012/0.001012, allocations: 101.4 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.885e-06/7.925e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2514, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6869/0.9384, allocations: 149.4 MB / 1.351 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.9387, allocations: 84.3 kB / 1.351 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01085/0.9495, allocations: 3.229 MB / 1.354 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.9496, allocations: 1.062 kB / 1.354 GB, free: 15.51 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003324/0.9499, allocations: 404.8 kB / 1.355 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.95, allocations: 9.25 kB / 1.355 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.95, allocations: 3.562 kB / 1.355 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.392e-05/0.9501, allocations: 167.6 kB / 1.355 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.9501, allocations: 1 kB / 1.355 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.9502, allocations: 6.719 kB / 1.355 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.496e-05/0.9503, allocations: 30.22 kB / 1.355 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.728e-05/0.9504, allocations: 65.23 kB / 1.355 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.9504, allocations: 0 / 1.355 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.9504, allocations: 3.234 kB / 1.355 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.9504, allocations: 0 / 1.355 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/0.9505, allocations: 144.4 kB / 1.355 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.316e-05/0.9506, allocations: 53.28 kB / 1.355 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.9507, allocations: 37.44 kB / 1.355 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.39e-06/0.9507, allocations: 4.688 kB / 1.355 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.9507, allocations: 36.73 kB / 1.355 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.9507, allocations: 0.7188 kB / 1.355 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0003311/0.951, allocations: 115.1 kB / 1.355 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.9511, allocations: 80.81 kB / 1.356 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.996e-05/0.9511, allocations: 103.7 kB / 1.356 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.9512, allocations: 27.17 kB / 1.356 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.382e-05/0.9512, allocations: 85.92 kB / 1.356 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.9512, allocations: 21.72 kB / 1.356 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.9512, allocations: 0.6562 kB / 1.356 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.675e-05/0.9513, allocations: 318.1 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.524e-05/0.9513, allocations: 29.36 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.952e-05/0.9514, allocations: 26.33 kB / 1.356 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.9515, allocations: 35.78 kB / 1.356 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.9515, allocations: 3.906 kB / 1.356 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002397/0.9518, allocations: 108.4 kB / 1.356 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.9518, allocations: 5.562 kB / 1.356 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.9518, allocations: 4.062 kB / 1.356 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.9518, allocations: 0 / 1.356 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.823e-06/0.9518, allocations: 1.844 kB / 1.356 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.9518, allocations: 6.266 kB / 1.356 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.9519, allocations: 5 kB / 1.356 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.9519, allocations: 8.453 kB / 1.356 GB, free: 13.89 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.664e-05/0.952, allocations: 138.3 kB / 1.356 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.952, allocations: 8.312 kB / 1.356 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.672e-05/0.952, allocations: 11.08 kB / 1.356 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.9521, allocations: 4 kB / 1.356 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9521, allocations: 1.375 kB / 1.356 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.9521, allocations: 0 / 1.356 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.887e-05/0.9521, allocations: 146.1 kB / 1.357 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.9522, allocations: 0.875 kB / 1.357 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-06/0.9522, allocations: 1.547 kB / 1.357 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.9522, allocations: 0.9062 kB / 1.357 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.9522, allocations: 3.594 kB / 1.357 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.9522, allocations: 2.172 kB / 1.357 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9522, allocations: 0 / 1.357 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002733/0.9525, allocations: 160.3 kB / 1.357 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.9525, allocations: 84.19 kB / 1.357 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.9525, allocations: 2.25 kB / 1.357 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.891e-05/0.9526, allocations: 2.125 kB / 1.357 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.9526, allocations: 7.344 kB / 1.357 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.9526, allocations: 8.922 kB / 1.357 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.207e-05/0.9527, allocations: 89.22 kB / 1.357 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003742/0.953, allocations: 86.8 kB / 1.357 GB, free: 13.31 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003505/0.9534, allocations: 179.8 kB / 1.357 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00018/0.9536, allocations: 105.6 kB / 1.357 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.9536, allocations: 0.75 kB / 1.357 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.191e-05/0.9537, allocations: 105.2 kB / 1.357 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001053/0.9538, allocations: 8.891 kB / 1.357 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002361/0.954, allocations: 103.5 kB / 1.357 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.9543, allocations: 0.6996 MB / 1.358 GB, free: 28.36 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/0.9543, allocations: 0 / 1.358 GB, free: 28.36 MB / 0.823 GB Notification: Performance of Templates: time 0.004952/0.9593, allocations: 1.813 MB / 1.36 GB, free: 28.2 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches