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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001036/0.001036, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 173.7 kB / 16.92 MB, free: 6.629 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.468/1.468, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.834/2.834, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005985/0.0005986, allocations: 11.22 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.336, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.001696/0.3378, allocations: 1.23 MB / 1.061 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.3391, allocations: 0.7558 MB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.779e-05/0.3391, allocations: 0 / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.3393, allocations: 131.8 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.3395, allocations: 79.81 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.34, allocations: 127.8 kB / 1.062 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.3401, allocations: 67.81 kB / 1.062 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.3402, allocations: 0 / 1.062 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.455e-05/0.3402, allocations: 35.89 kB / 1.062 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.3403, allocations: 83.84 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.3404, allocations: 4 kB / 1.062 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003734/0.3407, allocations: 211.7 kB / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.741e-05/0.3409, allocations: 63.81 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.36e-05/0.3409, allocations: 81.19 kB / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.3412, allocations: 180 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3412, allocations: 4 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.578e-06/0.3412, allocations: 3.984 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.3412, allocations: 3.938 kB / 1.062 GB, free: 1.898 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.0006259/0.3419, allocations: 494.5 kB / 1.063 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.3419, allocations: 15.97 kB / 1.063 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.342, allocations: 16.75 kB / 1.063 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.3422, allocations: 259.6 kB / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3422, allocations: 4.312 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.3422, allocations: 8.359 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.3425, allocations: 81.98 kB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3425, allocations: 4 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3425, allocations: 0 / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.3425, allocations: 3.984 kB / 1.063 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.3427, allocations: 95.94 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005638/0.3433, allocations: 408.6 kB / 1.064 GB, free: 408 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.3435, allocations: 102.5 kB / 1.064 GB, free: 296 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.3436, allocations: 52.89 kB / 1.064 GB, free: 240 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.339e-05/0.3437, allocations: 15.98 kB / 1.064 GB, free: 224 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3437, allocations: 34.56 kB / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3437, allocations: 0 / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004565/0.3442, allocations: 189.4 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.3442, allocations: 55.34 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003637/0.3446, allocations: 363.3 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.3446, allocations: 25.7 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.964e-05/0.3447, allocations: 136 kB / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.067e-05/0.3447, allocations: 0 / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.3448, allocations: 25.7 kB / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3449, allocations: 334.8 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.3451, allocations: 99.94 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.3452, allocations: 103.9 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.3455, allocations: 222.9 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3456, allocations: 0 / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003735/0.3459, allocations: 265.3 kB / 1.066 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.346, allocations: 9.188 kB / 1.066 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.346, allocations: 3.938 kB / 1.066 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.346, allocations: 0 / 1.066 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.293e-05/0.3461, allocations: 15.98 kB / 1.066 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.3461, allocations: 0 / 1.066 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.932e-05/0.3462, allocations: 15.84 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.3462, allocations: 4 kB / 1.066 GB, free: 14.29 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.0001275/0.3463, allocations: 149.7 kB / 1.066 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.3464, allocations: 19.81 kB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/0.3467, allocations: 158.6 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3467, allocations: 0 / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3467, allocations: 0 / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3467, allocations: 0 / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.347, allocations: 241.5 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.347, allocations: 0 / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.252e-05/0.347, allocations: 19.97 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.3471, allocations: 3.984 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.3471, allocations: 0 / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3471, allocations: 0 / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3471, allocations: 4 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.3474, allocations: 247.1 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.61e-05/0.3475, allocations: 100.8 kB / 1.067 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.3475, allocations: 0 / 1.067 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.633e-05/0.3476, allocations: 15.92 kB / 1.067 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.3476, allocations: 0 / 1.067 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.3476, allocations: 4 kB / 1.067 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002439/0.3479, allocations: 253.9 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3479, allocations: 0 / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003484/0.3482, allocations: 67.98 kB / 1.067 GB, free: 12.93 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.0003092/0.3486, allocations: 155.2 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003353/0.3489, allocations: 175.8 kB / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3489, allocations: 3.938 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.349, allocations: 47.97 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.3493, allocations: 16.59 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006487/0.35, allocations: 450.2 kB / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.3503, allocations: 0.7355 MB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.3504, allocations: 15.44 kB / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of SimCode: time 1.773e-06/0.3504, allocations: 0 / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of Templates: time 0.004507/0.3549, allocations: 2.373 MB / 1.071 GB, free: 8.914 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/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