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.001708/0.001708, 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.001999/0.001999, allocations: 196 kB / 16.54 MB, free: 6.672 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.886/2.886, allocations: 469.8 MB / 0.7424 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 71.3 kB / 0.9087 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2936, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002702/0.2963, allocations: 1.474 MB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.2976, allocations: 0.781 MB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.758e-05/0.2976, allocations: 0 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.2979, allocations: 127.7 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005163/0.2984, allocations: 182.1 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.2986, allocations: 71.8 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.896e-05/0.2987, allocations: 71.8 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.434e-05/0.2987, allocations: 12 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.162e-05/0.2988, allocations: 39.89 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.2989, allocations: 83.78 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.2989, allocations: 4 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/0.2993, allocations: 223.7 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.2995, allocations: 103.7 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.218e-05/0.2995, allocations: 91.22 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004398/0.3, allocations: 347.2 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.12e-07/0.3, allocations: 4 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.3, allocations: 4 kB / 1.068 GB, free: 10.61 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.0009882/0.301, allocations: 0.6067 MB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3011, allocations: 8.031 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.3011, allocations: 30.75 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.225e-05/0.3012, allocations: 36.47 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.3022, allocations: 0.9122 MB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.3023, allocations: 4.375 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.3023, allocations: 4.375 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.3025, allocations: 93.72 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3025, allocations: 0 / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.3026, allocations: 0 / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3026, allocations: 0 / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.3028, allocations: 103.9 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007843/0.3036, allocations: 0.5825 MB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.3038, allocations: 102.5 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.3039, allocations: 60.88 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.659e-05/0.304, allocations: 23.98 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.304, allocations: 30.56 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3041, allocations: 0 / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000518/0.3046, allocations: 213.2 kB / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.3046, allocations: 59.34 kB / 1.07 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.306, allocations: 1.209 MB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.306, allocations: 25.7 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.3062, allocations: 176.1 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.3062, allocations: 11.84 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.3062, allocations: 17.84 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002263/0.3065, allocations: 350.7 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.3066, allocations: 47.97 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.3067, allocations: 51.97 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.3069, allocations: 108.8 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3069, allocations: 4.062 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002903/0.3072, allocations: 165.2 kB / 1.072 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3073, allocations: 4 kB / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3073, allocations: 0 / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3073, allocations: 4 kB / 1.072 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.606e-05/0.3074, allocations: 4 kB / 1.072 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.3074, allocations: 0 / 1.072 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.871e-05/0.3075, allocations: 16.02 kB / 1.072 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.3075, allocations: 0 / 1.072 GB, free: 5.348 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.0001527/0.3076, allocations: 169.7 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/0.3077, allocations: 31.53 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003413/0.3081, allocations: 176 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3081, allocations: 3.984 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3081, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3081, allocations: 4.031 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.3084, allocations: 293.5 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3084, allocations: 0 / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.3085, allocations: 11.98 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.3085, allocations: 0 / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.3085, allocations: 0 / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3085, allocations: 3.938 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3085, allocations: 4 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.3089, allocations: 263 kB / 1.073 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.309, allocations: 128.6 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.309, allocations: 3.938 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3091, allocations: 7.984 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.3092, allocations: 7.938 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-06/0.3092, allocations: 0 / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009244/0.3101, allocations: 0.9559 MB / 1.074 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3101, allocations: 4.031 kB / 1.074 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003526/0.3105, allocations: 71.98 kB / 1.075 GB, free: 3.129 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.0008204/0.3113, allocations: 0.837 MB / 1.075 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002692/0.3116, allocations: 111.9 kB / 1.075 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3116, allocations: 0 / 1.075 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.3117, allocations: 51.97 kB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.3121, allocations: 23.12 kB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007421/0.3195, allocations: 6.827 MB / 1.082 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.32, allocations: 0.7831 MB / 1.083 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.372e-05/0.3201, allocations: 46.86 kB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.3202, allocations: 91.41 kB / 1.083 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of SimCode: time 9.42e-07/0.3202, allocations: 0 / 1.083 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.3513, allocations: 7.039 MB / 1.09 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/8.276, allocations: 14.8 kB / 1.09 GB, free: 3.262 MB / 0.8419 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 400 --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