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.006033/0.006032, allocations: 102.4 kB / 15.73 MB, free: 6.023 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.001429/0.001429, allocations: 196 kB / 16.67 MB, free: 5.938 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.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.779/2.779, allocations: 469.8 MB / 0.7425 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 63.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7695/0.7713, allocations: 159.1 MB / 1.22 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002918/0.7743, allocations: 1.476 MB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.7758, allocations: 0.7713 MB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.873e-05/0.7759, allocations: 0 / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.7762, allocations: 135.7 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006443/0.7768, allocations: 183.5 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.777, allocations: 71.8 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.7771, allocations: 67.81 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.383e-05/0.7772, allocations: 7.984 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.623e-05/0.7773, allocations: 39.89 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.7774, allocations: 83.78 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.7774, allocations: 4 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004692/0.7779, allocations: 227.7 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.778, allocations: 107.7 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.968e-05/0.7781, allocations: 95.22 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004335/0.7786, allocations: 358.2 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.7786, allocations: 0 / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7786, allocations: 0 / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.7786, allocations: 0 / 1.224 GB, free: 14.38 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.0008779/0.7795, allocations: 0.6221 MB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.7796, allocations: 11.97 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.347e-05/0.7796, allocations: 34.75 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/0.7797, allocations: 32.7 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009889/0.7807, allocations: 0.9241 MB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.7807, allocations: 384 / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.7807, allocations: 384 / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.7809, allocations: 89.78 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.7809, allocations: 0 / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.7809, allocations: 7.984 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.781, allocations: 0 / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.7812, allocations: 99.92 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006852/0.7819, allocations: 0.5787 MB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.7821, allocations: 110.5 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.7822, allocations: 48.89 kB / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.463e-05/0.7823, allocations: 23.98 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.7823, allocations: 34.56 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.7823, allocations: 3.938 kB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0005274/0.7828, allocations: 221.3 kB / 1.226 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.7829, allocations: 51.41 kB / 1.226 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.7842, allocations: 1.209 MB / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.7842, allocations: 25.7 kB / 1.228 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.7844, allocations: 180.2 kB / 1.228 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.7844, allocations: 3.953 kB / 1.228 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.7845, allocations: 13.72 kB / 1.228 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.7846, allocations: 354.7 kB / 1.228 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.7848, allocations: 47.97 kB / 1.228 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.7849, allocations: 51.95 kB / 1.228 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.7851, allocations: 108.9 kB / 1.228 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7851, allocations: 0 / 1.228 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003089/0.7854, allocations: 165.4 kB / 1.229 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.7855, allocations: 8 kB / 1.229 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.7855, allocations: 0 / 1.229 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.7855, allocations: 0 / 1.229 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.059e-05/0.7856, allocations: 12.02 kB / 1.229 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.7856, allocations: 4 kB / 1.229 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.939e-05/0.7857, allocations: 15.83 kB / 1.229 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.7857, allocations: 0 / 1.229 GB, free: 9.082 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.0001579/0.7859, allocations: 169.7 kB / 1.229 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/0.7859, allocations: 27.81 kB / 1.229 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/0.7863, allocations: 184 kB / 1.229 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.7863, allocations: 0 / 1.229 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7863, allocations: 0 / 1.229 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.7863, allocations: 0 / 1.229 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.7868, allocations: 297.5 kB / 1.229 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7868, allocations: 0 / 1.229 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.012e-05/0.7869, allocations: 7.984 kB / 1.229 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7869, allocations: 0 / 1.229 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.7869, allocations: 0 / 1.229 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.7869, allocations: 4 kB / 1.229 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7869, allocations: 0 / 1.229 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.7873, allocations: 263.2 kB / 1.23 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.7875, allocations: 128.8 kB / 1.23 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.7875, allocations: 11.92 kB / 1.23 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.7876, allocations: 7.938 kB / 1.23 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.7877, allocations: 4 kB / 1.23 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.7877, allocations: 8.016 kB / 1.23 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001078/0.7887, allocations: 0.9481 MB / 1.231 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7888, allocations: 0 / 1.231 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004249/0.7892, allocations: 75.92 kB / 1.231 GB, free: 6.871 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.0009839/0.7902, allocations: 0.8492 MB / 1.232 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003104/0.7905, allocations: 103.9 kB / 1.232 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7905, allocations: 0 / 1.232 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.7906, allocations: 55.97 kB / 1.232 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.791, allocations: 17.56 kB / 1.232 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007503/0.7985, allocations: 6.769 MB / 1.238 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.799, allocations: 0.7831 MB / 1.239 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.831e-05/0.7991, allocations: 42.92 kB / 1.239 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.7992, allocations: 87.41 kB / 1.239 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of SimCode: time 9.61e-07/0.7992, allocations: 4 kB / 1.239 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.8305, allocations: 7.127 MB / 1.246 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.691/9.522, allocations: 23.59 kB / 1.246 GB, free: 6.988 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.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_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.csv","/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