Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_11_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.004857/0.004857, allocations: 99.86 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 192.8 kB / 16.67 MB, free: 5.934 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.681/2.681, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 71.83 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8623/0.8642, allocations: 159.1 MB / 1.22 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002453/0.8667, allocations: 1.465 MB / 1.222 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.868, allocations: 0.7753 MB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.8681, allocations: 4 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.8683, allocations: 127.7 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004979/0.8688, allocations: 185.9 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.8689, allocations: 67.8 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.8691, allocations: 71.8 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.406e-05/0.8691, allocations: 11.98 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.615e-05/0.8692, allocations: 35.91 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.8693, allocations: 87.78 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.8693, allocations: 0 / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.8697, allocations: 231.6 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.8698, allocations: 107.7 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.725e-05/0.8699, allocations: 99.19 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000395/0.8703, allocations: 346.3 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.8703, allocations: 0 / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.203e-06/0.8704, allocations: 0 / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.8704, allocations: 0 / 1.224 GB, free: 14.46 MB / 0.9512 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.0007685/0.8711, allocations: 0.6299 MB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.8712, allocations: 8.031 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.8712, allocations: 38.67 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.8713, allocations: 36.7 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008513/0.8721, allocations: 0.9163 MB / 1.225 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.8722, allocations: 384 / 1.225 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.8722, allocations: 4.375 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.8724, allocations: 85.78 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.8724, allocations: 4 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.8724, allocations: 4 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.8724, allocations: 0 / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002126/0.8726, allocations: 95.94 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006227/0.8732, allocations: 0.5787 MB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.8734, allocations: 106.5 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.8736, allocations: 56.89 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.336e-05/0.8736, allocations: 19.98 kB / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.8736, allocations: 42.55 kB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 2.765e-06/0.8737, allocations: 0 / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000456/0.8741, allocations: 217.2 kB / 1.226 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.8742, allocations: 55.41 kB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.8753, allocations: 1.209 MB / 1.228 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.8754, allocations: 29.7 kB / 1.228 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.8755, allocations: 176.1 kB / 1.228 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.8755, allocations: 7.953 kB / 1.228 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.8756, allocations: 9.719 kB / 1.228 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.8757, allocations: 358.9 kB / 1.228 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.8758, allocations: 51.97 kB / 1.228 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.876, allocations: 43.97 kB / 1.228 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.8762, allocations: 104.8 kB / 1.228 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8762, allocations: 0 / 1.228 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002839/0.8765, allocations: 173.4 kB / 1.229 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.8765, allocations: 5.875 kB / 1.229 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.8765, allocations: 0 / 1.229 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.8765, allocations: 0 / 1.229 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/0.8766, allocations: 11.98 kB / 1.229 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.8766, allocations: 3.938 kB / 1.229 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.465e-05/0.8767, allocations: 15.88 kB / 1.229 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.8767, allocations: 4 kB / 1.229 GB, free: 9.156 MB / 0.9512 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.0001351/0.8768, allocations: 165.8 kB / 1.229 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.8769, allocations: 31.81 kB / 1.229 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.8772, allocations: 172 kB / 1.229 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.8772, allocations: 4 kB / 1.229 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.8772, allocations: 0 / 1.229 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.8773, allocations: 0 / 1.229 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.8775, allocations: 297.5 kB / 1.229 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.8776, allocations: 4.031 kB / 1.229 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.8776, allocations: 11.98 kB / 1.229 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.8776, allocations: 0 / 1.229 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.8776, allocations: 0 / 1.229 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8776, allocations: 0 / 1.229 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.8776, allocations: 0 / 1.229 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.878, allocations: 267.2 kB / 1.23 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.8781, allocations: 132.8 kB / 1.23 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.8781, allocations: 0 / 1.23 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.8782, allocations: 11.92 kB / 1.23 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.8783, allocations: 7.938 kB / 1.23 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.8783, allocations: 4 kB / 1.23 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000921/0.8792, allocations: 0.952 MB / 1.231 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8792, allocations: 4 kB / 1.231 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003587/0.8796, allocations: 63.94 kB / 1.231 GB, free: 6.953 MB / 0.9512 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.0008193/0.8804, allocations: 0.8532 MB / 1.232 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002697/0.8807, allocations: 111.9 kB / 1.232 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8807, allocations: 0 / 1.232 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.8808, allocations: 55.95 kB / 1.232 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.8812, allocations: 21.56 kB / 1.232 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006761/0.8879, allocations: 6.765 MB / 1.238 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.8883, allocations: 0.7831 MB / 1.239 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.474e-05/0.8884, allocations: 38.94 kB / 1.239 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.8886, allocations: 91.39 kB / 1.239 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of SimCode: time 4.51e-07/0.8886, allocations: 0 / 1.239 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.864/1.753, allocations: 7.14 MB / 1.246 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/17.32, allocations: 4.531 kB / 1.246 GB, free: 7.062 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Interpolate.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches