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.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.Functions.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_latest_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.0011/0.0011, 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.001076/0.001076, allocations: 194.2 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.273/1.273, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.583/2.583, allocations: 469.4 MB / 0.742 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 69.72 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2495, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002702/0.2522, allocations: 1.496 MB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.2534, allocations: 0.734 MB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.2534, allocations: 0 / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.2537, allocations: 131.7 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.089e-05/0.2538, allocations: 67.83 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.2543, allocations: 179.6 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.2544, allocations: 67.8 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.2545, allocations: 7.938 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.506e-05/0.2545, allocations: 39.94 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.2547, allocations: 79.8 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.2547, allocations: 4 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.255, allocations: 223.7 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.067e-05/0.2551, allocations: 59.83 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.876e-05/0.2552, allocations: 59.47 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.2556, allocations: 275.4 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.2556, allocations: 4 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2556, allocations: 3.938 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.2556, allocations: 0 / 1.067 GB, free: 11.04 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.0006242/0.2562, allocations: 0.4999 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2563, allocations: 12.03 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.2563, allocations: 30.75 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.2564, allocations: 20.66 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.2566, allocations: 259.8 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.2566, allocations: 384 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.2566, allocations: 384 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.2568, allocations: 85.72 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.2568, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.2568, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.2569, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.2571, allocations: 87.94 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.2575, allocations: 404.6 kB / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.2577, allocations: 90.53 kB / 1.068 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.2578, allocations: 48.89 kB / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/0.2579, allocations: 19.92 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.2579, allocations: 30.56 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.2579, allocations: 0 / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003958/0.2583, allocations: 181.3 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.2583, allocations: 55.53 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.2586, allocations: 347.3 kB / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.2587, allocations: 25.7 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.384e-05/0.2588, allocations: 140 kB / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.2588, allocations: 11.84 kB / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.2588, allocations: 25.7 kB / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.259, allocations: 342.8 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.2591, allocations: 95.95 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.2592, allocations: 99.88 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.2595, allocations: 206.7 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2595, allocations: 3.938 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003279/0.2599, allocations: 249.3 kB / 1.07 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.2599, allocations: 4 kB / 1.07 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2599, allocations: 4 kB / 1.07 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.2599, allocations: 3.938 kB / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.006e-05/0.26, allocations: 11.98 kB / 1.07 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.26, allocations: 0 / 1.07 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.314e-05/0.2601, allocations: 15.83 kB / 1.07 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.2601, allocations: 0 / 1.07 GB, free: 7.461 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 9.898e-05/0.2602, allocations: 155.4 kB / 1.07 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.2602, allocations: 19.72 kB / 1.07 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.2605, allocations: 142.6 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2605, allocations: 0 / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2605, allocations: 0 / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.2605, allocations: 0 / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.2607, allocations: 249.5 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2607, allocations: 0 / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.504e-05/0.2608, allocations: 7.984 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2608, allocations: 4 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.2608, allocations: 4.031 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2608, allocations: 0 / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2608, allocations: 0 / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.2611, allocations: 243.2 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-05/0.2612, allocations: 104.8 kB / 1.071 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.2612, allocations: 0 / 1.071 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.511e-05/0.2613, allocations: 16.02 kB / 1.071 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.2613, allocations: 0 / 1.071 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.2613, allocations: 0 / 1.071 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002116/0.2616, allocations: 253.9 kB / 1.071 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.91e-07/0.2616, allocations: 0 / 1.071 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003168/0.2619, allocations: 68 kB / 1.071 GB, free: 6.125 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.0006806/0.2626, allocations: 0.8219 MB / 1.072 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002906/0.2629, allocations: 159.9 kB / 1.072 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2629, allocations: 0 / 1.072 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.263, allocations: 48 kB / 1.072 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.2633, allocations: 12.66 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.2659, allocations: 2.702 MB / 1.075 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.2663, allocations: 0.7421 MB / 1.076 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.029e-05/0.2663, allocations: 16.55 kB / 1.076 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/0.2664, allocations: 51.42 kB / 1.076 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2664, allocations: 3.938 kB / 1.076 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.2845, allocations: 4.245 MB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.266/7.551, allocations: 7.594 kB / 1.08 GB, free: 13.3 MB / 0.8419 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Interpolate.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.csv","/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