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.001435/0.001435, allocations: 100.1 kB / 15.88 MB, free: 12 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.001503/0.001503, allocations: 196 kB / 16.79 MB, free: 6.809 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.384/1.384, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.817/2.817, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.44 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2774, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.00275/0.2802, allocations: 1.549 MB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.2815, allocations: 0.7829 MB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.871e-05/0.2815, allocations: 0 / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.2818, allocations: 127.8 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.2819, allocations: 75.81 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005246/0.2824, allocations: 139.8 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.2826, allocations: 55.89 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.61e-05/0.2826, allocations: 15.86 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.209e-05/0.2827, allocations: 31.95 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.2828, allocations: 79.84 kB / 1.056 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.2828, allocations: 0 / 1.056 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003802/0.2832, allocations: 215.7 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.209e-05/0.2833, allocations: 67.8 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.59e-05/0.2834, allocations: 55.48 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.2836, allocations: 180 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2836, allocations: 0 / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.32e-07/0.2836, allocations: 3.938 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.2837, allocations: 0 / 1.056 GB, free: 4.934 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.0006516/0.2843, allocations: 0.5022 MB / 1.057 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2844, allocations: 11.97 kB / 1.057 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.327e-05/0.2844, allocations: 24.66 kB / 1.057 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.2847, allocations: 255.7 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.2847, allocations: 4.375 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.2847, allocations: 8.359 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.2849, allocations: 77.92 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2849, allocations: 0 / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.2849, allocations: 0 / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2849, allocations: 3.984 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.2851, allocations: 87.94 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.2857, allocations: 400.6 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.2858, allocations: 90.45 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.286, allocations: 48.89 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.286, allocations: 19.98 kB / 1.058 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.286, allocations: 38.5 kB / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.2861, allocations: 0 / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004153/0.2865, allocations: 181.3 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.2865, allocations: 51.41 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.2869, allocations: 351.4 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.2869, allocations: 33.64 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.045e-05/0.287, allocations: 144 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.287, allocations: 3.906 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.2871, allocations: 25.7 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2872, allocations: 334.8 kB / 1.059 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.2874, allocations: 91.95 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.2875, allocations: 103.9 kB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.2878, allocations: 211 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2878, allocations: 0 / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003598/0.2882, allocations: 257.2 kB / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2882, allocations: 5.562 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2882, allocations: 0 / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2882, allocations: 0 / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.224e-05/0.2883, allocations: 19.92 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.2883, allocations: 0 / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.58e-05/0.2884, allocations: 11.84 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.2884, allocations: 4 kB / 1.059 GB, free: 1.375 MB / 0.8106 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.0001084/0.2885, allocations: 145.7 kB / 1.059 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.2886, allocations: 19.72 kB / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.2889, allocations: 146.6 kB / 1.06 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2889, allocations: 0 / 1.06 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2889, allocations: 0 / 1.06 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2889, allocations: 0 / 1.06 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.2891, allocations: 245.5 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2891, allocations: 0 / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.183e-05/0.2892, allocations: 11.98 kB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.2892, allocations: 3.938 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.2892, allocations: 0 / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2892, allocations: 0 / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2892, allocations: 8.031 kB / 1.06 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.2895, allocations: 227.2 kB / 1.06 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/0.2896, allocations: 104.8 kB / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.2897, allocations: 0 / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.595e-05/0.2897, allocations: 7.984 kB / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.2898, allocations: 4.031 kB / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.2898, allocations: 4 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002266/0.29, allocations: 249.9 kB / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.29, allocations: 3.938 kB / 1.06 GB, free: 120 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003527/0.2904, allocations: 64 kB / 1.06 GB, free: 56 kB / 0.8106 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.0003317/0.2907, allocations: 155.2 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003401/0.2911, allocations: 167.8 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2911, allocations: 0 / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.2912, allocations: 43.97 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.2915, allocations: 18.56 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006354/0.2921, allocations: 443.3 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.2924, allocations: 0.7419 MB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.2925, allocations: 11.44 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.2925, allocations: 0 / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of Templates: time 0.004234/0.2967, allocations: 2.399 MB / 1.064 GB, free: 12.04 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