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.361/1.361, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 175.8 kB / 326.5 MB, free: 2.27 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.537/1.537, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008406/0.0008405, allocations: 97.77 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003455, allocations: 12.34 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.202, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.171/0.373, allocations: 132.7 MB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000412/0.3735, allocations: 79.95 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01558/0.3891, allocations: 3.516 MB / 1.033 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3891, allocations: 4 kB / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.3891, allocations: 0 / 1.033 GB, free: 7.449 MB / 0.6823 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.0005351/0.3897, allocations: 416.7 kB / 1.034 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.3897, allocations: 12.03 kB / 1.034 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.3898, allocations: 0 / 1.034 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.39, allocations: 170.9 kB / 1.034 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.39, allocations: 0 / 1.034 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.39, allocations: 4 kB / 1.034 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.3902, allocations: 73.62 kB / 1.034 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3903, allocations: 0 / 1.034 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3903, allocations: 3.938 kB / 1.034 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3903, allocations: 4 kB / 1.034 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.565e-05/0.3904, allocations: 23.97 kB / 1.034 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.3906, allocations: 165.6 kB / 1.034 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.3907, allocations: 54.55 kB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-06/0.3907, allocations: 0 / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.3908, allocations: 34.56 kB / 1.034 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3908, allocations: 0 / 1.034 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004929/0.3913, allocations: 236.4 kB / 1.034 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.3914, allocations: 85.09 kB / 1.034 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3915, allocations: 105 kB / 1.035 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.3915, allocations: 25.7 kB / 1.035 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.3916, allocations: 88.14 kB / 1.035 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/0.3917, allocations: 19.62 kB / 1.035 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.3917, allocations: 8.031 kB / 1.035 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3919, allocations: 314.8 kB / 1.035 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.744e-05/0.3919, allocations: 31.91 kB / 1.035 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.518e-05/0.392, allocations: 25.77 kB / 1.035 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.3921, allocations: 53.67 kB / 1.035 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3922, allocations: 3.953 kB / 1.035 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002875/0.3924, allocations: 135.4 kB / 1.035 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/0.3925, allocations: 37.69 kB / 1.035 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.3925, allocations: 4 kB / 1.035 GB, free: 5.094 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3926, allocations: 64 / 1.035 GB, free: 5.094 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.3926, allocations: 4 kB / 1.035 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3926, allocations: 0 / 1.035 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.252e-05/0.3926, allocations: 7.938 kB / 1.035 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/0.3927, allocations: 11.98 kB / 1.035 GB, free: 5.07 MB / 0.6823 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.0001618/0.3929, allocations: 151.5 kB / 1.035 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.3929, allocations: 11.86 kB / 1.035 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.3929, allocations: 8.375 kB / 1.035 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3929, allocations: 0 / 1.035 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.393, allocations: 0 / 1.035 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.393, allocations: 4 kB / 1.035 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.3932, allocations: 165.6 kB / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3932, allocations: 0 / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-06/0.3932, allocations: 3.953 kB / 1.036 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3932, allocations: 4 kB / 1.036 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.3932, allocations: 7.984 kB / 1.036 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3932, allocations: 0 / 1.036 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3932, allocations: 0 / 1.036 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003853/0.3937, allocations: 186.6 kB / 1.036 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.3937, allocations: 77.11 kB / 1.036 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.3938, allocations: 7.953 kB / 1.036 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.261e-05/0.3938, allocations: 3.984 kB / 1.036 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.3939, allocations: 4 kB / 1.036 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.3939, allocations: 8 kB / 1.036 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.213e-05/0.394, allocations: 91.89 kB / 1.036 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/0.394, allocations: 0 / 1.036 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005516/0.3946, allocations: 87.86 kB / 1.036 GB, free: 4.156 MB / 0.6823 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.0004556/0.395, allocations: 172.9 kB / 1.036 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002994/0.3953, allocations: 175.3 kB / 1.036 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3954, allocations: 0 / 1.036 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.3955, allocations: 139.3 kB / 1.037 GB, free: 3.645 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.3957, allocations: 0 / 1.037 GB, free: 3.645 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.3961, allocations: 178.8 kB / 1.037 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.3965, allocations: 0.6848 MB / 1.037 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.097e-05/0.3965, allocations: 7.938 kB / 1.037 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.198e-05/0.3965, allocations: 7.438 kB / 1.037 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of SimCode: time 3.01e-07/0.3965, allocations: 0 / 1.037 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of Templates: time 0.00596/0.4025, allocations: 1.811 MB / 1.039 GB, free: 0.9141 MB / 0.6823 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