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.001368/0.001368, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001441/0.001441, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.329/1.329, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.571/2.571, allocations: 469.4 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 64.69 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3219, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002948/0.3249, allocations: 1.506 MB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.3262, allocations: 0.7323 MB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.753e-05/0.3263, allocations: 4 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.3265, allocations: 131.7 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.652e-05/0.3266, allocations: 71.83 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007049/0.3274, allocations: 187.5 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.3275, allocations: 55.83 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.965e-05/0.3275, allocations: 7.984 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.3276, allocations: 35.95 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.3277, allocations: 79.84 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.3278, allocations: 4 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003938/0.3282, allocations: 223.6 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.485e-05/0.3283, allocations: 59.83 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.493e-05/0.3283, allocations: 63.48 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.3288, allocations: 271.4 kB / 1.068 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3288, allocations: 0 / 1.068 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3288, allocations: 0 / 1.068 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.3288, allocations: 4 kB / 1.068 GB, free: 11.57 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.0006882/0.3295, allocations: 0.4982 MB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3295, allocations: 12.03 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.218e-05/0.3296, allocations: 24.66 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.3299, allocations: 255.8 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3299, allocations: 4.375 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.3299, allocations: 384 / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.3301, allocations: 81.91 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3301, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.3302, allocations: 4 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3302, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.3304, allocations: 91.86 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.3309, allocations: 396.6 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.3311, allocations: 90.52 kB / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3312, allocations: 52.83 kB / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.041e-05/0.3312, allocations: 19.98 kB / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.3313, allocations: 34.56 kB / 1.069 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.3313, allocations: 0 / 1.069 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0004327/0.3317, allocations: 173.3 kB / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.3318, allocations: 51.41 kB / 1.069 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.3321, allocations: 355.3 kB / 1.07 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.3321, allocations: 29.83 kB / 1.07 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.38e-05/0.3322, allocations: 136 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.3322, allocations: 3.906 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.3323, allocations: 33.7 kB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3324, allocations: 338.8 kB / 1.07 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.3326, allocations: 99.88 kB / 1.07 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.3327, allocations: 99.88 kB / 1.07 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.333, allocations: 211.5 kB / 1.071 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.333, allocations: 4 kB / 1.071 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003429/0.3333, allocations: 245.3 kB / 1.071 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3334, allocations: 8 kB / 1.071 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3334, allocations: 0 / 1.071 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3334, allocations: 0 / 1.071 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.3335, allocations: 8 kB / 1.071 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.3335, allocations: 4 kB / 1.071 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.758e-05/0.3336, allocations: 19.77 kB / 1.071 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3336, allocations: 4 kB / 1.071 GB, free: 8.023 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.0001015/0.3337, allocations: 146.3 kB / 1.071 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.3338, allocations: 19.81 kB / 1.071 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.3341, allocations: 154.6 kB / 1.071 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3341, allocations: 0 / 1.071 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3341, allocations: 0 / 1.071 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3341, allocations: 0 / 1.071 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.3343, allocations: 241.5 kB / 1.071 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/0.3343, allocations: 4 kB / 1.071 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.3344, allocations: 4 kB / 1.071 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3344, allocations: 0 / 1.071 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.3344, allocations: 0 / 1.071 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3344, allocations: 0 / 1.071 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3344, allocations: 11.92 kB / 1.071 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.3347, allocations: 231.2 kB / 1.072 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.357e-05/0.3348, allocations: 100.9 kB / 1.072 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.3348, allocations: 3.938 kB / 1.072 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.44e-05/0.3349, allocations: 7.984 kB / 1.072 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.3349, allocations: 4 kB / 1.072 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.3349, allocations: 4.031 kB / 1.072 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002105/0.3352, allocations: 253.9 kB / 1.072 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.51e-07/0.3352, allocations: 0 / 1.072 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003628/0.3355, allocations: 67.89 kB / 1.072 GB, free: 6.695 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.0002813/0.3358, allocations: 163.1 kB / 1.072 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003209/0.3361, allocations: 159.8 kB / 1.072 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3362, allocations: 4 kB / 1.072 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.3363, allocations: 47.97 kB / 1.072 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.3366, allocations: 12.59 kB / 1.072 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006078/0.3372, allocations: 405.7 kB / 1.073 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.3375, allocations: 0.7353 MB / 1.073 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/0.3375, allocations: 15.44 kB / 1.073 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.3375, allocations: 0 / 1.073 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of Templates: time 0.004195/0.3417, allocations: 2.404 MB / 1.076 GB, free: 2.719 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