Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008233/0.0008236, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005461/0.00546, allocations: 172.2 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.795/2.795, allocations: 462.7 MB / 0.7364 GB, free: 352 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003853, allocations: 15.69 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3519, allocations: 159.6 MB / 1.059 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.001801/0.3537, allocations: 1.23 MB / 1.06 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.3551, allocations: 0.7558 MB / 1.061 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.3551, allocations: 0 / 1.061 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.3554, allocations: 139.7 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.3555, allocations: 71.88 kB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006381/0.3562, allocations: 131.7 kB / 1.061 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.3563, allocations: 63.86 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.455e-05/0.3564, allocations: 4 kB / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.595e-05/0.3564, allocations: 35.91 kB / 1.061 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.3566, allocations: 79.84 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.3566, allocations: 4 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004264/0.357, allocations: 219.6 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.3572, allocations: 55.83 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.884e-05/0.3572, allocations: 85.19 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004302/0.3577, allocations: 263.5 kB / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3577, allocations: 0 / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.464e-06/0.3577, allocations: 0 / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.3577, allocations: 4 kB / 1.062 GB, free: 2.406 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000735/0.3585, allocations: 0.4906 MB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3585, allocations: 8.031 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.3586, allocations: 16.75 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.3589, allocations: 267.6 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.3589, allocations: 4.375 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.3589, allocations: 4.312 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.3592, allocations: 97.89 kB / 1.063 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3592, allocations: 0 / 1.063 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3592, allocations: 0 / 1.063 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3592, allocations: 0 / 1.063 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.3594, allocations: 103.9 kB / 1.063 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.36, allocations: 396.6 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.3602, allocations: 102.5 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.3603, allocations: 52.88 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.278e-05/0.3604, allocations: 15.98 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.3604, allocations: 38.56 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.3604, allocations: 0 / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000465/0.3609, allocations: 189.4 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.3609, allocations: 51.41 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.3613, allocations: 355.3 kB / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.3613, allocations: 25.7 kB / 1.064 GB, free: 32 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.3614, allocations: 144 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.3614, allocations: 4 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.3615, allocations: 21.7 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3616, allocations: 338.8 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.3618, allocations: 103.9 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.3619, allocations: 99.95 kB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.3623, allocations: 227.1 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3623, allocations: 4 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003867/0.3627, allocations: 253.3 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.3627, allocations: 8 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3627, allocations: 3.938 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3627, allocations: 3.984 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.702e-05/0.3628, allocations: 15.94 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3628, allocations: 0 / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.717e-05/0.3629, allocations: 19.83 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.3629, allocations: 0 / 1.065 GB, free: 14.79 MB / 0.8262 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 (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.3631, allocations: 145.8 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.3631, allocations: 23.7 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.3634, allocations: 150.6 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3634, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3635, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3635, allocations: 3.984 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.3637, allocations: 241.5 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3637, allocations: 0 / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.265e-05/0.3638, allocations: 16.02 kB / 1.066 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.3638, allocations: 0 / 1.066 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.3638, allocations: 11.88 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3638, allocations: 0 / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3638, allocations: 0 / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.3641, allocations: 247.1 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/0.3642, allocations: 104.8 kB / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.3642, allocations: 0 / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.043e-05/0.3643, allocations: 12 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.3644, allocations: 3.984 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.3644, allocations: 4.031 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002298/0.3646, allocations: 249.9 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3646, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00037/0.365, allocations: 67.98 kB / 1.066 GB, free: 13.43 MB / 0.8262 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000325/0.3653, allocations: 151.2 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003475/0.3657, allocations: 175.8 kB / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3657, allocations: 0 / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.3658, allocations: 55.89 kB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.3661, allocations: 17.73 kB / 1.067 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.3668, allocations: 416.5 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.3671, allocations: 0.7433 MB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.119e-05/0.3671, allocations: 16.56 kB / 1.068 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.3672, allocations: 11.44 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/0.3672, allocations: 0 / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of Templates: time 0.005133/0.3723, allocations: 1.969 MB / 1.07 GB, free: 9.832 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches