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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.234/2.234, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001175/0.001175, allocations: 175.4 kB / 498.1 MB, free: 5.742 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.674/1.674, allocations: 223.2 MB / 0.7948 GB, free: 17.86 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.001224/0.001224, allocations: 102.8 kB / 0.9346 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003462, allocations: 10.25 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2427, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.204/0.4467, allocations: 150.3 MB / 1.37 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.447, allocations: 83.95 kB / 1.37 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01103/0.4581, allocations: 3.542 MB / 1.373 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.993e-06/0.4581, allocations: 0 / 1.373 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.4581, allocations: 0 / 1.373 GB, free: 8.16 MB / 0.8698 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.0004461/0.4586, allocations: 408.8 kB / 1.374 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.4586, allocations: 8.031 kB / 1.374 GB, free: 7.699 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.4587, allocations: 15.84 kB / 1.374 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.4589, allocations: 171 kB / 1.374 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.4589, allocations: 4 kB / 1.374 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.4589, allocations: 0 / 1.374 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.4591, allocations: 65.64 kB / 1.374 GB, free: 7.402 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.4591, allocations: 0 / 1.374 GB, free: 7.402 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.4591, allocations: 4 kB / 1.374 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.4591, allocations: 0 / 1.374 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.526e-05/0.4592, allocations: 27.98 kB / 1.374 GB, free: 7.371 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.4594, allocations: 165.6 kB / 1.374 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.332e-05/0.4595, allocations: 58.47 kB / 1.374 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-06/0.4595, allocations: 0 / 1.374 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.4595, allocations: 34.56 kB / 1.374 GB, free: 7.051 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.4595, allocations: 32 / 1.374 GB, free: 7.051 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0003676/0.4599, allocations: 240.5 kB / 1.374 GB, free: 6.785 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.46, allocations: 85.03 kB / 1.374 GB, free: 6.684 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.337e-05/0.4601, allocations: 109.2 kB / 1.374 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4601, allocations: 25.7 kB / 1.375 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.4602, allocations: 88.14 kB / 1.375 GB, free: 6.449 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.4602, allocations: 19.66 kB / 1.375 GB, free: 6.43 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.4602, allocations: 4 kB / 1.375 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4604, allocations: 318.8 kB / 1.375 GB, free: 6.105 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.402e-05/0.4604, allocations: 27.97 kB / 1.375 GB, free: 6.078 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.01e-05/0.4605, allocations: 24.3 kB / 1.375 GB, free: 6.055 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.978e-05/0.4606, allocations: 61.77 kB / 1.375 GB, free: 5.988 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4606, allocations: 0 / 1.375 GB, free: 5.988 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001739/0.4608, allocations: 131.2 kB / 1.375 GB, free: 5.848 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.4608, allocations: 41.62 kB / 1.375 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4608, allocations: 0 / 1.375 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4608, allocations: 0 / 1.375 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.877e-06/0.4608, allocations: 7.875 kB / 1.375 GB, free: 5.793 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.4609, allocations: 4 kB / 1.375 GB, free: 5.789 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.089e-05/0.4609, allocations: 0 / 1.375 GB, free: 5.789 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.4609, allocations: 11.98 kB / 1.375 GB, free: 5.777 MB / 0.8698 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 () * Number of clocked 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.0001214/0.4611, allocations: 155.5 kB / 1.375 GB, free: 5.609 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.4611, allocations: 11.91 kB / 1.375 GB, free: 5.598 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.695e-05/0.4611, allocations: 4.375 kB / 1.375 GB, free: 5.59 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.4611, allocations: 0 / 1.375 GB, free: 5.59 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4611, allocations: 0 / 1.375 GB, free: 5.59 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4611, allocations: 0 / 1.375 GB, free: 5.59 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.4613, allocations: 169.6 kB / 1.376 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4613, allocations: 4 kB / 1.376 GB, free: 5.371 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.4613, allocations: 0 / 1.376 GB, free: 5.371 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.4613, allocations: 0 / 1.376 GB, free: 5.371 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.4613, allocations: 8 kB / 1.376 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.4613, allocations: 0 / 1.376 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4613, allocations: 0 / 1.376 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.4616, allocations: 178.7 kB / 1.376 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.4616, allocations: 85 kB / 1.376 GB, free: 5.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.4617, allocations: 7.938 kB / 1.376 GB, free: 5.055 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.749e-05/0.4617, allocations: 4 kB / 1.376 GB, free: 5.051 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.4617, allocations: 7.984 kB / 1.376 GB, free: 5.043 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.4618, allocations: 12.03 kB / 1.376 GB, free: 5.031 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.312e-05/0.4618, allocations: 91.27 kB / 1.376 GB, free: 4.941 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.91e-07/0.4618, allocations: 0 / 1.376 GB, free: 4.941 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003214/0.4621, allocations: 83.92 kB / 1.376 GB, free: 4.859 MB / 0.8698 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 () * Number of clocked 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.0003667/0.4625, allocations: 174.9 kB / 1.376 GB, free: 4.68 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002405/0.4628, allocations: 171.3 kB / 1.376 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4628, allocations: 0 / 1.376 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.4629, allocations: 135.4 kB / 1.376 GB, free: 4.355 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001131/0.463, allocations: 9.609 kB / 1.376 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.4634, allocations: 170.7 kB / 1.377 GB, free: 4.152 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.4637, allocations: 0.6926 MB / 1.377 GB, free: 3.434 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.484e-06/0.4637, allocations: 0 / 1.377 GB, free: 3.434 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.108e-05/0.4637, allocations: 7.438 kB / 1.377 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.4637, allocations: 0 / 1.377 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of Templates: time 0.004221/0.4679, allocations: 1.812 MB / 1.379 GB, free: 1.617 MB / 0.8698 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