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.001273/0.001274, allocations: 101.2 kB / 15.99 MB, free: 6.367 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.001258/0.001258, allocations: 193.1 kB / 16.91 MB, free: 6.195 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.434/1.434, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.674/2.674, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 74.62 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3455, allocations: 159.2 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002968/0.3486, allocations: 1.557 MB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.3499, allocations: 0.7324 MB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/0.3499, allocations: 0 / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.3502, allocations: 131.8 kB / 1.067 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.3503, allocations: 67.83 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006442/0.351, allocations: 163.8 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.3511, allocations: 71.8 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.3511, allocations: 0 / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.561e-05/0.3512, allocations: 35.89 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.3513, allocations: 79.86 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.3513, allocations: 4 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003646/0.3517, allocations: 227.7 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.845e-05/0.3518, allocations: 63.81 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.226e-05/0.3519, allocations: 55.48 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.3522, allocations: 191.9 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3522, allocations: 4 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3522, allocations: 0 / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.3522, allocations: 0 / 1.067 GB, free: 11.73 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.0007066/0.3529, allocations: 0.4982 MB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.353, allocations: 12.03 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.353, allocations: 20.66 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.3533, allocations: 255.8 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.3533, allocations: 384 / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.3533, allocations: 4.375 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.3535, allocations: 85.91 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3536, allocations: 0 / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.3536, allocations: 0 / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3536, allocations: 4 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.3538, allocations: 87.86 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005714/0.3544, allocations: 400.6 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.3546, allocations: 94.45 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.3547, allocations: 44.89 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.221e-05/0.3547, allocations: 19.98 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.3548, allocations: 30.56 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3548, allocations: 4 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0004353/0.3552, allocations: 177.3 kB / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.3553, allocations: 51.41 kB / 1.069 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000395/0.3557, allocations: 351.3 kB / 1.069 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3557, allocations: 25.7 kB / 1.07 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.3558, allocations: 140 kB / 1.07 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.267e-05/0.3558, allocations: 11.97 kB / 1.07 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.3559, allocations: 25.7 kB / 1.07 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.356, allocations: 334.8 kB / 1.07 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.3562, allocations: 95.94 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.3563, allocations: 99.88 kB / 1.07 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.3567, allocations: 218.2 kB / 1.07 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3567, allocations: 0 / 1.07 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003607/0.357, allocations: 256.2 kB / 1.071 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3571, allocations: 4 kB / 1.071 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3571, allocations: 4.094 kB / 1.071 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3571, allocations: 3.984 kB / 1.071 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.761e-05/0.3572, allocations: 11.92 kB / 1.071 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3572, allocations: 3.984 kB / 1.071 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.762e-05/0.3573, allocations: 19.84 kB / 1.071 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.3573, allocations: 0 / 1.071 GB, free: 8.18 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.0001293/0.3574, allocations: 149.7 kB / 1.071 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.3575, allocations: 19.72 kB / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/0.3578, allocations: 138.6 kB / 1.071 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3578, allocations: 4 kB / 1.071 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3578, allocations: 0 / 1.071 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3578, allocations: 4.031 kB / 1.071 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.358, allocations: 241.5 kB / 1.071 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3581, allocations: 0 / 1.071 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.769e-05/0.3581, allocations: 12 kB / 1.071 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3581, allocations: 3.984 kB / 1.071 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.3581, allocations: 0 / 1.071 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3581, allocations: 3.938 kB / 1.071 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3582, allocations: 0 / 1.071 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.3585, allocations: 239.1 kB / 1.071 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-05/0.3585, allocations: 96.92 kB / 1.072 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.3586, allocations: 3.938 kB / 1.072 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.279e-05/0.3587, allocations: 7.984 kB / 1.072 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.3587, allocations: 4 kB / 1.072 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.3587, allocations: 0 / 1.072 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002556/0.359, allocations: 249.9 kB / 1.072 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.359, allocations: 8.031 kB / 1.072 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003448/0.3593, allocations: 71.91 kB / 1.072 GB, free: 6.848 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.0003199/0.3597, allocations: 155.1 kB / 1.072 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003314/0.36, allocations: 163.8 kB / 1.072 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.36, allocations: 0 / 1.072 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.3601, allocations: 47.97 kB / 1.072 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.3604, allocations: 16.59 kB / 1.072 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006575/0.3611, allocations: 441.7 kB / 1.073 GB, free: 5.996 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.3615, allocations: 0.7353 MB / 1.073 GB, free: 5.234 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.3615, allocations: 15.44 kB / 1.073 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3615, allocations: 0 / 1.073 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of Templates: time 0.004693/0.3662, allocations: 2.4 MB / 1.076 GB, free: 2.84 MB / 0.8419 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=400 -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/jenkins1/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