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.454/2.454, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001271/0.001271, allocations: 194.5 kB / 0.4902 GB, free: 2.285 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.681/1.681, allocations: 223.1 MB / 0.7992 GB, free: 14.6 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.000943/0.0009437, allocations: 107.8 kB / 0.9396 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003687, allocations: 10.34 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3366, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1978/0.5344, allocations: 151 MB / 1.377 GB, free: 2.461 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.5347, allocations: 83.94 kB / 1.377 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01126/0.546, allocations: 3.542 MB / 1.38 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.925e-06/0.5461, allocations: 0 / 1.38 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.5461, allocations: 8 kB / 1.38 GB, free: 14.82 MB / 0.8855 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.0005264/0.5466, allocations: 401.7 kB / 1.381 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.5467, allocations: 8.562 kB / 1.381 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.5467, allocations: 7.906 kB / 1.381 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.5469, allocations: 178.9 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.5469, allocations: 0 / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.547, allocations: 4 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.5471, allocations: 65.64 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.5472, allocations: 4 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.5472, allocations: 0 / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.5472, allocations: 4 kB / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.912e-05/0.5473, allocations: 31.91 kB / 1.381 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.5474, allocations: 161.6 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.981e-05/0.5475, allocations: 50.55 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-06/0.5476, allocations: 4.031 kB / 1.381 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.5476, allocations: 38.5 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.5476, allocations: 0 / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0003969/0.548, allocations: 244.4 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.5481, allocations: 85.09 kB / 1.381 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.745e-05/0.5482, allocations: 101 kB / 1.382 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.5482, allocations: 29.7 kB / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.5482, allocations: 84.14 kB / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.5483, allocations: 19.66 kB / 1.382 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.5483, allocations: 0 / 1.382 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5484, allocations: 330.8 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.25e-05/0.5485, allocations: 23.97 kB / 1.382 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.551e-05/0.5485, allocations: 19.98 kB / 1.382 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.585e-05/0.5486, allocations: 61.67 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5486, allocations: 0 / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001636/0.5488, allocations: 127.9 kB / 1.382 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.5488, allocations: 41.69 kB / 1.382 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5488, allocations: 0 / 1.382 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.5489, allocations: 0 / 1.382 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.5489, allocations: 0 / 1.382 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.5489, allocations: 8.047 kB / 1.382 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.456e-05/0.5489, allocations: 7.906 kB / 1.382 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.223e-05/0.549, allocations: 11.98 kB / 1.382 GB, free: 12.45 MB / 0.8855 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.000129/0.5491, allocations: 147.5 kB / 1.382 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.5491, allocations: 4 kB / 1.382 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.5492, allocations: 8.375 kB / 1.382 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.5492, allocations: 7.938 kB / 1.382 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.5492, allocations: 0 / 1.382 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.5492, allocations: 0 / 1.382 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.5493, allocations: 177.5 kB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.5493, allocations: 0 / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.5493, allocations: 0 / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.5494, allocations: 0 / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.5494, allocations: 4 kB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5494, allocations: 0 / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5494, allocations: 0 / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.5496, allocations: 178.7 kB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.5497, allocations: 93 kB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.5497, allocations: 0 / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.781e-05/0.5497, allocations: 4 kB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.5498, allocations: 7.984 kB / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.5498, allocations: 8 kB / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.6e-05/0.5499, allocations: 91.27 kB / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5499, allocations: 3.938 kB / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003355/0.5502, allocations: 87.86 kB / 1.383 GB, free: 11.53 MB / 0.8855 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.0003779/0.5506, allocations: 172 kB / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.5509, allocations: 175.3 kB / 1.383 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5509, allocations: 0 / 1.383 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.551, allocations: 135.3 kB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.5511, allocations: 7.938 kB / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.5515, allocations: 162.8 kB / 1.384 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.5519, allocations: 0.6928 MB / 1.384 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.326e-06/0.5519, allocations: 0 / 1.384 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.304e-05/0.5519, allocations: 7.438 kB / 1.384 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of SimCode: time 4.1e-07/0.5519, allocations: 0 / 1.384 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of Templates: time 0.00442/0.5563, allocations: 1.814 MB / 1.386 GB, free: 8.297 MB / 0.8855 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