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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.389/2.389, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001035/0.001035, allocations: 169 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 221.3 MB / 0.7915 GB, free: 5.426 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.0009763/0.0009766, allocations: 80.02 kB / 0.9317 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.823e-05/3.826e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2963, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.327, allocations: 151 MB / 1.366 GB, free: 3.117 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/1.328, allocations: 79.2 kB / 1.366 GB, free: 3.074 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01041/1.338, allocations: 3.538 MB / 1.37 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.573e-06/1.338, allocations: 0 / 1.37 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.166e-06/1.338, allocations: 4 kB / 1.37 GB, free: 15.93 MB / 0.8386 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.0004019/1.338, allocations: 390.8 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/1.339, allocations: 8.031 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/1.339, allocations: 11.91 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/1.339, allocations: 175 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/1.339, allocations: 0 / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/1.339, allocations: 4 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/1.339, allocations: 63.34 kB / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/1.339, allocations: 0 / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/1.339, allocations: 0 / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/1.339, allocations: 0 / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.148e-05/1.339, allocations: 23.05 kB / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/1.339, allocations: 183 kB / 1.371 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.44e-05/1.339, allocations: 55.17 kB / 1.371 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.564e-05/1.339, allocations: 39.12 kB / 1.371 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-06/1.339, allocations: 0 / 1.371 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/1.339, allocations: 30.56 kB / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/1.339, allocations: 3.938 kB / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.000257/1.34, allocations: 124.2 kB / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/1.34, allocations: 89.12 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.491e-05/1.34, allocations: 102.6 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/1.34, allocations: 25.7 kB / 1.371 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/1.34, allocations: 94.81 kB / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/1.34, allocations: 18.78 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/1.34, allocations: 4 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.34, allocations: 318.8 kB / 1.371 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.513e-05/1.34, allocations: 25.61 kB / 1.371 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.022e-05/1.34, allocations: 23.11 kB / 1.371 GB, free: 14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.609e-05/1.34, allocations: 61.59 kB / 1.372 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.34, allocations: 0 / 1.372 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001717/1.341, allocations: 133 kB / 1.372 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/1.341, allocations: 33.7 kB / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/1.341, allocations: 0 / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/1.341, allocations: 0 / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/1.341, allocations: 0 / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.341, allocations: 7.969 kB / 1.372 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.456e-05/1.341, allocations: 8.812 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/1.341, allocations: 8 kB / 1.372 GB, free: 13.74 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 9.479e-05/1.341, allocations: 146.3 kB / 1.372 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/1.341, allocations: 11.84 kB / 1.372 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/1.341, allocations: 8.625 kB / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/1.341, allocations: 0 / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.341, allocations: 0 / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.341, allocations: 0 / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/1.341, allocations: 176.1 kB / 1.372 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.341, allocations: 4 kB / 1.372 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/1.341, allocations: 0 / 1.372 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1.341, allocations: 8 kB / 1.372 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/1.341, allocations: 4 kB / 1.372 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/1.341, allocations: 0 / 1.372 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.341, allocations: 0 / 1.372 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/1.341, allocations: 170.6 kB / 1.372 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/1.341, allocations: 85.06 kB / 1.372 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/1.341, allocations: 3.938 kB / 1.372 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.728e-05/1.341, allocations: 7.984 kB / 1.372 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/1.341, allocations: 7.531 kB / 1.372 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/1.341, allocations: 11.98 kB / 1.372 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.967e-05/1.341, allocations: 94.45 kB / 1.372 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.341, allocations: 3.938 kB / 1.372 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002983/1.342, allocations: 75.94 kB / 1.372 GB, free: 12.87 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.0003269/1.342, allocations: 174.5 kB / 1.373 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002137/1.342, allocations: 174.2 kB / 1.373 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.342, allocations: 0 / 1.373 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/1.342, allocations: 133.9 kB / 1.373 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001082/1.343, allocations: 7.938 kB / 1.373 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/1.343, allocations: 110.7 kB / 1.373 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/1.343, allocations: 0.6887 MB / 1.374 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.654e-06/1.343, allocations: 0 / 1.374 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.032e-05/1.343, allocations: 15.38 kB / 1.374 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of SimCode: time 1.503e-06/1.343, allocations: 0 / 1.374 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of Templates: time 0.004229/1.347, allocations: 1.842 MB / 1.376 GB, free: 9.754 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