Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00162/0.001621, allocations: 108 kB / 15.6 MB, free: 132 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.001985/0.001985, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.619/2.619, allocations: 461.9 MB / 0.7346 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 69.88 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2709, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002675/0.2736, allocations: 1.463 MB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.2749, allocations: 0.7984 MB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.341e-05/0.275, allocations: 0 / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.2752, allocations: 135.7 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005405/0.2757, allocations: 171.6 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.2759, allocations: 75.73 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.276, allocations: 71.8 kB / 1.056 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.086e-05/0.2761, allocations: 8 kB / 1.056 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.653e-05/0.2762, allocations: 43.88 kB / 1.056 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.2763, allocations: 79.84 kB / 1.056 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.2763, allocations: 4 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003671/0.2767, allocations: 227.6 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.2768, allocations: 103.7 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.611e-05/0.2769, allocations: 95.2 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004072/0.2774, allocations: 343.2 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2774, allocations: 4 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2774, allocations: 0 / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.2774, allocations: 0 / 1.056 GB, free: 4.621 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.0007758/0.2782, allocations: 0.6068 MB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2782, allocations: 8.625 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.264e-05/0.2783, allocations: 30.75 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.184e-05/0.2783, allocations: 36.47 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007799/0.2791, allocations: 0.92 MB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.2791, allocations: 384 / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-06/0.2791, allocations: 384 / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.2793, allocations: 93.72 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.2793, allocations: 0 / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.2794, allocations: 0 / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.2794, allocations: 0 / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.2796, allocations: 99.92 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.2802, allocations: 0.5827 MB / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.2804, allocations: 110.5 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.2805, allocations: 56.89 kB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.913e-05/0.2805, allocations: 19.98 kB / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.2806, allocations: 34.56 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.855e-06/0.2806, allocations: 0 / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004523/0.281, allocations: 221.1 kB / 1.059 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.2811, allocations: 51.41 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.2821, allocations: 1.209 MB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.2822, allocations: 29.64 kB / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.2823, allocations: 176.1 kB / 1.061 GB, free: 148 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.2823, allocations: 11.78 kB / 1.061 GB, free: 136 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.2824, allocations: 17.84 kB / 1.061 GB, free: 112 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2825, allocations: 354.7 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.2826, allocations: 47.97 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.2827, allocations: 55.95 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.2829, allocations: 100.8 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.283, allocations: 64 / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002846/0.2832, allocations: 165.2 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2833, allocations: 4 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2833, allocations: 4 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2833, allocations: 0 / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.456e-05/0.2834, allocations: 7.938 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2834, allocations: 3.984 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.906e-05/0.2835, allocations: 8 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.2835, allocations: 4.031 kB / 1.061 GB, free: 15.35 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 (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 prepare postOptimizeDAE: time 0.0001279/0.2836, allocations: 169.7 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.2837, allocations: 31.53 kB / 1.062 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/0.284, allocations: 176 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2841, allocations: 0 / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2841, allocations: 0 / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2841, allocations: 0 / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.2844, allocations: 297.5 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2844, allocations: 0 / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.086e-05/0.2845, allocations: 11.98 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2845, allocations: 0 / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.2845, allocations: 0 / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.2845, allocations: 3.938 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2845, allocations: 0 / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.2848, allocations: 267 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.285, allocations: 124.6 kB / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.285, allocations: 4 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.2851, allocations: 19.92 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.2852, allocations: 0 / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.2852, allocations: 0 / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009203/0.2861, allocations: 0.952 MB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2861, allocations: 0 / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003679/0.2865, allocations: 80.02 kB / 1.063 GB, free: 13.14 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.0008149/0.2873, allocations: 0.8413 MB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.2876, allocations: 111.9 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2876, allocations: 0 / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.2877, allocations: 51.97 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.2881, allocations: 22.5 kB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006649/0.2947, allocations: 6.819 MB / 1.071 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.2951, allocations: 0.7791 MB / 1.072 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.036e-05/0.2952, allocations: 42.94 kB / 1.072 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.2953, allocations: 87.41 kB / 1.072 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.2953, allocations: 4 kB / 1.072 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.3193, allocations: 7.045 MB / 1.079 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/7.921, allocations: 14.77 kB / 1.079 GB, free: 13.29 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches