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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_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.001267/0.001267, 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.001319/0.001319, allocations: 197.1 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.472/1.472, 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.1.0-maint.11.x/package.mo): time 2.755/2.755, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 64.66 kB / 0.9087 GB, free: 34.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.276, allocations: 159.1 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002424/0.2784, allocations: 1.51 MB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.2795, allocations: 0.7302 MB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.284e-05/0.2795, allocations: 4 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.2797, allocations: 131.7 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.141e-05/0.2798, allocations: 71.77 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004767/0.2803, allocations: 189.4 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.758e-05/0.2804, allocations: 63.81 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 2.368e-05/0.2804, allocations: 4 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.384e-05/0.2804, allocations: 39.94 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.2805, allocations: 75.86 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.2806, allocations: 0 / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003257/0.2809, allocations: 231.6 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.281, allocations: 63.83 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.35e-05/0.281, allocations: 55.48 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.2814, allocations: 275.4 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.2814, allocations: 0 / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.62e-07/0.2814, allocations: 0 / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.2814, allocations: 0 / 1.067 GB, free: 10.79 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.0005618/0.282, allocations: 0.4982 MB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.776e-05/0.282, allocations: 12.03 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.09e-05/0.282, allocations: 30.75 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.2821, allocations: 24.66 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.2823, allocations: 259.7 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.2823, allocations: 8.375 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.2823, allocations: 384 / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.2825, allocations: 73.8 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2825, allocations: 7.984 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-06/0.2825, allocations: 0 / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-06/0.2825, allocations: 0 / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.2827, allocations: 87.94 kB / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.2832, allocations: 396.6 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.2834, allocations: 90.47 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.2835, allocations: 44.89 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.2835, allocations: 23.98 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.2835, allocations: 30.56 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2835, allocations: 0 / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003792/0.2839, allocations: 177.3 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.284, allocations: 55.34 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.2843, allocations: 355.4 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.2843, allocations: 25.7 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.959e-05/0.2844, allocations: 140 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.11e-05/0.2844, allocations: 7.844 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.2845, allocations: 29.7 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2846, allocations: 342.8 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.2848, allocations: 91.95 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.2849, allocations: 103.9 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.2852, allocations: 210 kB / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2852, allocations: 0 / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003484/0.2856, allocations: 255.2 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.2856, allocations: 8 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.2856, allocations: 0 / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.343e-06/0.2856, allocations: 0 / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.2857, allocations: 11.98 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.2857, allocations: 4 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.736e-05/0.2858, allocations: 11.84 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.2858, allocations: 8.078 kB / 1.071 GB, free: 7.191 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.0001092/0.2859, allocations: 145.8 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.2859, allocations: 23.7 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.2862, allocations: 146.6 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2862, allocations: 0 / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.2862, allocations: 0 / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-06/0.2862, allocations: 0 / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.2865, allocations: 241.5 kB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2865, allocations: 7.938 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.306e-05/0.2865, allocations: 7.984 kB / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.2865, allocations: 0 / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.2865, allocations: 0 / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.2865, allocations: 4 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2866, allocations: 4.031 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.2868, allocations: 231.1 kB / 1.071 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.271e-05/0.2869, allocations: 104.8 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.2869, allocations: 4 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.287, allocations: 3.984 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.2871, allocations: 8.031 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.2871, allocations: 0 / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002321/0.2873, allocations: 253.9 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2873, allocations: 0 / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002891/0.2876, allocations: 68 kB / 1.072 GB, free: 5.871 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.0007106/0.2883, allocations: 0.8214 MB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002889/0.2886, allocations: 159.9 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.2886, allocations: 0 / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.2887, allocations: 43.91 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.289, allocations: 19.16 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.2918, allocations: 2.704 MB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.2921, allocations: 0.7392 MB / 1.076 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.512e-05/0.2921, allocations: 16.55 kB / 1.076 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.2922, allocations: 51.42 kB / 1.076 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2922, allocations: 0 / 1.076 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6377/0.9299, allocations: 4.253 MB / 1.08 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.916/10.85, allocations: 5.109 kB / 1.081 GB, free: 13.03 MB / 0.8419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate.fmu > 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