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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001485/0.001485, allocations: 108 kB / 15.61 MB, free: 152 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.002678/0.002678, allocations: 197.2 kB / 16.53 MB, free: 6.664 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.772/2.772, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 68.41 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2965, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002626/0.2992, allocations: 1.502 MB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.3007, allocations: 0.7362 MB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/0.3008, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.3011, allocations: 135.8 kB / 1.071 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.3013, allocations: 71.83 kB / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009078/0.3022, allocations: 182.9 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.3023, allocations: 59.81 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.168e-05/0.3024, allocations: 15.94 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.688e-05/0.3025, allocations: 35.94 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.3027, allocations: 79.84 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.3027, allocations: 0 / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000474/0.3032, allocations: 219.7 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.3034, allocations: 67.81 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.611e-05/0.3035, allocations: 55.48 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004403/0.3039, allocations: 271.4 kB / 1.072 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3039, allocations: 0 / 1.072 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.895e-06/0.304, allocations: 0 / 1.072 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.304, allocations: 3.938 kB / 1.072 GB, free: 6.98 MB / 0.8262 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.0008793/0.3049, allocations: 0.5061 MB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.3049, allocations: 12.03 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.863e-05/0.305, allocations: 24.64 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.3053, allocations: 247.8 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.3054, allocations: 8.312 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.3054, allocations: 4.359 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.3057, allocations: 77.97 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3057, allocations: 4 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3057, allocations: 0 / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3057, allocations: 4 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.306, allocations: 83.92 kB / 1.073 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006075/0.3066, allocations: 400.6 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.3068, allocations: 90.53 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.3069, allocations: 52.88 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.065e-05/0.3069, allocations: 19.98 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.307, allocations: 30.56 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.535e-06/0.307, allocations: 3.984 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004433/0.3074, allocations: 181.2 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.3075, allocations: 51.41 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.3078, allocations: 359.2 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.3078, allocations: 25.7 kB / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.308, allocations: 128.1 kB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.308, allocations: 7.906 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.3081, allocations: 29.7 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3082, allocations: 338.9 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.3084, allocations: 95.94 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.3085, allocations: 96.59 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.3088, allocations: 214.6 kB / 1.075 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3088, allocations: 0 / 1.075 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003583/0.3092, allocations: 253.2 kB / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.3092, allocations: 8 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3093, allocations: 0 / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3093, allocations: 0 / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.345e-05/0.3094, allocations: 7.984 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3094, allocations: 0 / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.984e-05/0.3095, allocations: 23.83 kB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.3095, allocations: 0 / 1.075 GB, free: 3.426 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.0001199/0.3096, allocations: 147.8 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.3096, allocations: 19.72 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.3099, allocations: 142.5 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.31, allocations: 4 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.31, allocations: 0 / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.31, allocations: 4 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.3102, allocations: 245.5 kB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.3102, allocations: 4.031 kB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-05/0.3103, allocations: 11.98 kB / 1.075 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3103, allocations: 3.938 kB / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.3103, allocations: 4 kB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3103, allocations: 0 / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3103, allocations: 0 / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.3106, allocations: 235.1 kB / 1.076 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.3107, allocations: 104.8 kB / 1.076 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.3107, allocations: 0 / 1.076 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/0.3108, allocations: 7.938 kB / 1.076 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.3109, allocations: 11.98 kB / 1.076 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.3109, allocations: 0 / 1.076 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002232/0.3111, allocations: 249.9 kB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3111, allocations: 0 / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003385/0.3114, allocations: 63.98 kB / 1.076 GB, free: 2.098 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.0003789/0.3118, allocations: 163.1 kB / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003214/0.3122, allocations: 155.9 kB / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3122, allocations: 0 / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.3123, allocations: 51.95 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.3126, allocations: 21.78 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005825/0.3132, allocations: 375.9 kB / 1.077 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.3136, allocations: 0.7392 MB / 1.077 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.165e-05/0.3136, allocations: 20.55 kB / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.3137, allocations: 11.44 kB / 1.077 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3137, allocations: 0 / 1.077 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of Templates: time 0.005342/0.319, allocations: 2.099 MB / 1.08 GB, free: 14.41 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/jenkins/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