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.001286/0.001286, allocations: 108 kB / 15.99 MB, free: 6.359 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.00127/0.00127, allocations: 198.5 kB / 16.91 MB, free: 6.199 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.346/1.346, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.593/2.593, allocations: 469.4 MB / 0.7423 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 65.44 kB / 0.9083 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3367, allocations: 159.1 MB / 1.064 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002968/0.3397, allocations: 1.549 MB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.341, allocations: 0.7402 MB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.165e-05/0.3411, allocations: 0 / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.3413, allocations: 131.8 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.362e-05/0.3414, allocations: 67.84 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006565/0.3421, allocations: 165.9 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.3422, allocations: 75.73 kB / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.3423, allocations: 0 / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.343e-05/0.3423, allocations: 31.95 kB / 1.066 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.3424, allocations: 83.86 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.3425, allocations: 4 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000374/0.3428, allocations: 227.7 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.343, allocations: 63.81 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.618e-05/0.343, allocations: 55.48 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.3434, allocations: 191.9 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3434, allocations: 0 / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3434, allocations: 0 / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.3434, allocations: 0 / 1.067 GB, free: 11.98 MB / 0.8419 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.0006962/0.3441, allocations: 0.5021 MB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3441, allocations: 12.62 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.3442, allocations: 24.66 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.3444, allocations: 255.7 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.3445, allocations: 8.359 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.3445, allocations: 4.375 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.3447, allocations: 73.97 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3447, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.3447, allocations: 4 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3447, allocations: 8 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.3449, allocations: 83.92 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.3455, allocations: 396.6 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.3457, allocations: 94.45 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.3458, allocations: 48.89 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.615e-05/0.3459, allocations: 19.98 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.3459, allocations: 30.56 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3459, allocations: 0 / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0004737/0.3464, allocations: 181.4 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.3464, allocations: 55.34 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004084/0.3469, allocations: 351.3 kB / 1.069 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.3469, allocations: 25.7 kB / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.347, allocations: 140 kB / 1.069 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.347, allocations: 3.906 kB / 1.069 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-05/0.3471, allocations: 29.64 kB / 1.069 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3472, allocations: 338.8 kB / 1.07 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.3474, allocations: 95.98 kB / 1.07 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.3476, allocations: 103.8 kB / 1.07 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.3479, allocations: 208.7 kB / 1.07 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3479, allocations: 0 / 1.07 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003905/0.3483, allocations: 260 kB / 1.07 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3483, allocations: 8 kB / 1.07 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3483, allocations: 4 kB / 1.07 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3484, allocations: 0 / 1.07 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.046e-05/0.3484, allocations: 7.984 kB / 1.07 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3485, allocations: 0 / 1.07 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.89e-05/0.3485, allocations: 15.84 kB / 1.07 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.3485, allocations: 0 / 1.07 GB, free: 8.43 MB / 0.8419 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.0001223/0.3487, allocations: 151.9 kB / 1.07 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.3487, allocations: 19.72 kB / 1.07 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.349, allocations: 142.6 kB / 1.071 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.349, allocations: 4 kB / 1.071 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.349, allocations: 0 / 1.071 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.349, allocations: 0 / 1.071 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.3494, allocations: 241.5 kB / 1.071 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3494, allocations: 3.938 kB / 1.071 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.956e-05/0.3495, allocations: 11.98 kB / 1.071 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3495, allocations: 4.031 kB / 1.071 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.3495, allocations: 0 / 1.071 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.3495, allocations: 4 kB / 1.071 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3495, allocations: 0 / 1.071 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.3498, allocations: 235.1 kB / 1.071 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.3499, allocations: 96.92 kB / 1.071 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.3499, allocations: 4.031 kB / 1.071 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.35, allocations: 7.984 kB / 1.071 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.35, allocations: 4 kB / 1.071 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.3501, allocations: 0 / 1.071 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002302/0.3503, allocations: 249.9 kB / 1.071 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3503, allocations: 4 kB / 1.071 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003647/0.3507, allocations: 71.91 kB / 1.071 GB, free: 7.105 MB / 0.8419 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.0003144/0.351, allocations: 159 kB / 1.072 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003678/0.3514, allocations: 164 kB / 1.072 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3514, allocations: 0 / 1.072 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.3515, allocations: 43.97 kB / 1.072 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.3518, allocations: 20.62 kB / 1.072 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006387/0.3525, allocations: 441.7 kB / 1.072 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.3529, allocations: 0.7391 MB / 1.073 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.3529, allocations: 15.44 kB / 1.073 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3529, allocations: 0 / 1.073 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of Templates: time 0.004651/0.3576, allocations: 2.402 MB / 1.075 GB, free: 3.09 MB / 0.8419 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/jenkins1/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