Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.007455/0.007455, allocations: 99.88 kB / 15.73 MB, free: 6.004 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.001589/0.001589, allocations: 189.6 kB / 16.67 MB, free: 5.926 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.586/2.586, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 79.86 kB / 1.065 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.966/0.9682, allocations: 159.1 MB / 1.221 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002484/0.9707, allocations: 1.496 MB / 1.222 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.972, allocations: 0.7323 MB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.964e-05/0.972, allocations: 0 / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.9722, allocations: 135.7 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.974e-05/0.9723, allocations: 71.83 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000607/0.9729, allocations: 179.6 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.973, allocations: 63.81 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.9731, allocations: 7.984 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.524e-05/0.9731, allocations: 31.91 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.9733, allocations: 83.84 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.9733, allocations: 4 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003855/0.9737, allocations: 227.7 kB / 1.224 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.9738, allocations: 63.77 kB / 1.224 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.553e-05/0.9738, allocations: 55.48 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.9742, allocations: 275.5 kB / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.9742, allocations: 0 / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.462e-06/0.9742, allocations: 0 / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.9742, allocations: 0 / 1.224 GB, free: 14.7 MB / 0.9512 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.0007593/0.975, allocations: 0.5213 MB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.975, allocations: 8.031 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.9751, allocations: 28.75 kB / 1.225 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.9753, allocations: 248 kB / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.9754, allocations: 384 / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.9754, allocations: 12.36 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.9756, allocations: 81.86 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.9756, allocations: 0 / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.9756, allocations: 4 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.9756, allocations: 7.984 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.9758, allocations: 79.94 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005492/0.9764, allocations: 400.7 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.9765, allocations: 86.52 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.9766, allocations: 56.83 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.849e-05/0.9767, allocations: 15.98 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.9767, allocations: 30.56 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.9767, allocations: 0 / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000408/0.9771, allocations: 181.6 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.9771, allocations: 55.41 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.9774, allocations: 351.2 kB / 1.226 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.9775, allocations: 25.7 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.138e-05/0.9775, allocations: 144 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.9776, allocations: 11.89 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.9776, allocations: 25.7 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.9777, allocations: 338.8 kB / 1.227 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.9779, allocations: 99.89 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.978, allocations: 95.94 kB / 1.227 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.9783, allocations: 207.8 kB / 1.227 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9783, allocations: 0 / 1.227 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003666/0.9787, allocations: 257.4 kB / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.9787, allocations: 4 kB / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.9787, allocations: 7.938 kB / 1.227 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.9787, allocations: 0 / 1.227 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.69e-05/0.9788, allocations: 11.98 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.9788, allocations: 0 / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.296e-05/0.9789, allocations: 11.89 kB / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.9789, allocations: 7.938 kB / 1.227 GB, free: 11.12 MB / 0.9512 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.0001111/0.979, allocations: 146.8 kB / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.979, allocations: 19.86 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003028/0.9793, allocations: 146.7 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.9793, allocations: 3.984 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.9793, allocations: 0 / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.9793, allocations: 0 / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.9796, allocations: 245.5 kB / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.9796, allocations: 0 / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.905e-05/0.9796, allocations: 11.98 kB / 1.228 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.9796, allocations: 0 / 1.228 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.9796, allocations: 4.031 kB / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9796, allocations: 3.938 kB / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9796, allocations: 0 / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.9799, allocations: 239.2 kB / 1.228 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.721e-05/0.98, allocations: 104.9 kB / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.98, allocations: 0 / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.9801, allocations: 12.02 kB / 1.228 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.9801, allocations: 0 / 1.228 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.9801, allocations: 0 / 1.228 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002216/0.9804, allocations: 253.9 kB / 1.228 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.9804, allocations: 0 / 1.228 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003424/0.9807, allocations: 63.94 kB / 1.228 GB, free: 9.793 MB / 0.9512 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.0002976/0.981, allocations: 159.1 kB / 1.229 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003236/0.9813, allocations: 151.8 kB / 1.229 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.9813, allocations: 0 / 1.229 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.9814, allocations: 43.91 kB / 1.229 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.9818, allocations: 20.53 kB / 1.229 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005936/0.9823, allocations: 383.5 kB / 1.229 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.9827, allocations: 0.7392 MB / 1.23 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.762e-05/0.9827, allocations: 12.56 kB / 1.23 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.9827, allocations: 11.44 kB / 1.23 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of SimCode: time 4e-07/0.9827, allocations: 0 / 1.23 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of Templates: time 0.004985/0.9877, allocations: 2.124 MB / 1.232 GB, free: 6.102 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches