Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.01/2.01, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001036/0.001036, allocations: 169.3 kB / 490.8 MB, free: 1.949 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.441/1.441, allocations: 221.4 MB / 0.7863 GB, free: 13.68 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.001048/0.001048, allocations: 109 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.288e-06/9.308e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.245, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7027/0.9478, allocations: 150.2 MB / 1.358 GB, free: 17.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/0.948, allocations: 81.27 kB / 1.358 GB, free: 17.15 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01022/0.9582, allocations: 3.243 MB / 1.362 GB, free: 16.98 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.9583, allocations: 4.938 kB / 1.362 GB, free: 16.97 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004166/0.9587, allocations: 390.8 kB / 1.362 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.9588, allocations: 8.844 kB / 1.362 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.9588, allocations: 8.297 kB / 1.362 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.867e-05/0.9589, allocations: 170.1 kB / 1.362 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.9589, allocations: 5.172 kB / 1.362 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.9589, allocations: 2.125 kB / 1.362 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.663e-05/0.959, allocations: 24.75 kB / 1.362 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.9591, allocations: 68.08 kB / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.9592, allocations: 4 kB / 1.362 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.9592, allocations: 0.9062 kB / 1.362 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.9592, allocations: 1.125 kB / 1.362 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001115/0.9593, allocations: 145.5 kB / 1.362 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.101e-05/0.9594, allocations: 52.81 kB / 1.362 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.043e-05/0.9594, allocations: 41.11 kB / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/0.9595, allocations: 1.031 kB / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.9595, allocations: 35.69 kB / 1.362 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.9595, allocations: 4.688 kB / 1.362 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0003409/0.9598, allocations: 109.3 kB / 1.363 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.9599, allocations: 80.17 kB / 1.363 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7e-05/0.9599, allocations: 104.2 kB / 1.363 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.96, allocations: 27.02 kB / 1.363 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.96, allocations: 86.7 kB / 1.363 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.96, allocations: 16.61 kB / 1.363 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.96, allocations: 1.094 kB / 1.363 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.082e-05/0.9601, allocations: 325.6 kB / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.027e-05/0.9602, allocations: 25.5 kB / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.612e-05/0.9602, allocations: 25.8 kB / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.9604, allocations: 33.5 kB / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.9604, allocations: 0 / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002172/0.9606, allocations: 110.4 kB / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.9606, allocations: 5.562 kB / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.9606, allocations: 0 / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.9606, allocations: 1.406 kB / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.9606, allocations: 4.062 kB / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.9606, allocations: 5.344 kB / 1.363 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.193e-05/0.9607, allocations: 9.594 kB / 1.363 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.9607, allocations: 8.062 kB / 1.363 GB, free: 31.36 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 (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 7.728e-05/0.9608, allocations: 142.8 kB / 1.364 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.9608, allocations: 8.156 kB / 1.364 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.554e-05/0.9608, allocations: 7.156 kB / 1.364 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.9608, allocations: 1.312 kB / 1.364 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.9609, allocations: 0 / 1.364 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.9609, allocations: 4 kB / 1.364 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.21e-05/0.9609, allocations: 147.9 kB / 1.364 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.9609, allocations: 0 / 1.364 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-06/0.961, allocations: 3.188 kB / 1.364 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.961, allocations: 0 / 1.364 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.961, allocations: 5.906 kB / 1.364 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.961, allocations: 0 / 1.364 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.961, allocations: 0 / 1.364 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002486/0.9612, allocations: 146 kB / 1.364 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.9613, allocations: 90.38 kB / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.9613, allocations: 8.094 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.784e-05/0.9613, allocations: 2.031 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.9614, allocations: 8.391 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.9614, allocations: 12.84 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.815e-05/0.9614, allocations: 92.3 kB / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003358/0.9618, allocations: 78.25 kB / 1.364 GB, free: 30.79 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 (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.0003207/0.9621, allocations: 175 kB / 1.364 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.9623, allocations: 112.4 kB / 1.364 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.9623, allocations: 0 / 1.364 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.25e-05/0.9624, allocations: 106.1 kB / 1.364 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001008/0.9625, allocations: 6.156 kB / 1.364 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002175/0.9627, allocations: 120.5 kB / 1.365 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.9629, allocations: 0.6958 MB / 1.365 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of SimCode: time 2.1e-07/0.9629, allocations: 0 / 1.365 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of Templates: time 0.004129/0.9671, allocations: 1.807 MB / 1.367 GB, free: 29.67 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches