Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.492/1.492, allocations: 249.5 MB / 257 MB, free: 6.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 180.1 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.869/1.869, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009101/0.0009101, allocations: 85.3 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.67e-05/2.673e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2416, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8488/1.09, allocations: 132.9 MB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/1.091, allocations: 81.27 kB / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01079/1.102, allocations: 3.496 MB / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/1.102, allocations: 0 / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.616e-06/1.102, allocations: 0 / 1.019 GB, free: 1.727 MB / 0.6355 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.0003952/1.102, allocations: 391.8 kB / 1.019 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.102, allocations: 12.03 kB / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/1.102, allocations: 3.906 kB / 1.019 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/1.102, allocations: 175.5 kB / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/1.102, allocations: 0 / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/1.102, allocations: 4 kB / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.569e-05/1.102, allocations: 33.09 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/1.103, allocations: 57.34 kB / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/1.103, allocations: 0 / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/1.103, allocations: 4 kB / 1.019 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/1.103, allocations: 0 / 1.019 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/1.103, allocations: 141.7 kB / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.295e-05/1.103, allocations: 57.06 kB / 1.019 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.858e-05/1.103, allocations: 39.61 kB / 1.019 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/1.103, allocations: 4 kB / 1.019 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/1.103, allocations: 34.56 kB / 1.019 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/1.103, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003282/1.103, allocations: 100.5 kB / 1.02 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/1.103, allocations: 84.61 kB / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/1.103, allocations: 100.5 kB / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/1.104, allocations: 29.7 kB / 1.02 GB, free: 348 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/1.104, allocations: 87.73 kB / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/1.104, allocations: 23.64 kB / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/1.104, allocations: 0 / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.104, allocations: 318.6 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.234e-05/1.104, allocations: 23.59 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.701e-05/1.104, allocations: 27.36 kB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/1.104, allocations: 27.28 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.104, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002253/1.104, allocations: 108.3 kB / 1.02 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/1.104, allocations: 41.31 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/1.104, allocations: 4.062 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/1.104, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/1.104, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/1.104, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.135e-05/1.104, allocations: 4 kB / 1.02 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/1.104, allocations: 8.875 kB / 1.02 GB, free: 15.68 MB / 0.6511 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 0.0001112/1.105, allocations: 138.7 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/1.105, allocations: 15.8 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.798e-05/1.105, allocations: 4.625 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/1.105, allocations: 4 kB / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.105, allocations: 0 / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/1.105, allocations: 0 / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/1.105, allocations: 149.7 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.105, allocations: 4 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-07/1.105, allocations: 0 / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/1.105, allocations: 4 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/1.105, allocations: 11.52 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/1.105, allocations: 7.875 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.105, allocations: 0 / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/1.105, allocations: 143.7 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/1.105, allocations: 81.02 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/1.105, allocations: 4 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.846e-05/1.105, allocations: 7.938 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/1.105, allocations: 4 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/1.105, allocations: 11.69 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.466e-05/1.105, allocations: 87.66 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.105, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002923/1.106, allocations: 83.47 kB / 1.021 GB, free: 14.88 MB / 0.6511 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.0003608/1.106, allocations: 175.1 kB / 1.021 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002229/1.106, allocations: 171 kB / 1.021 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.106, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.614e-05/1.106, allocations: 130.3 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000113/1.106, allocations: 0 / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/1.107, allocations: 112.5 kB / 1.022 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/1.107, allocations: 0.6925 MB / 1.022 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.414e-06/1.107, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.877e-06/1.107, allocations: 11.38 kB / 1.022 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/1.107, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of Templates: time 0.004095/1.111, allocations: 1.802 MB / 1.024 GB, free: 11.81 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches