Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_latest_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.007355/0.007355, allocations: 103.6 kB / 15.73 MB, free: 6.051 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.001705/0.001705, allocations: 190.8 kB / 16.67 MB, free: 5.977 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.391/1.391, 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.0.1-master/package.mo): time 2.623/2.623, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 72.11 kB / 1.054 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.753/0.7544, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.003189/0.7577, allocations: 1.464 MB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.7592, allocations: 0.7791 MB / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.7593, allocations: 0 / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.7596, allocations: 131.7 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007006/0.7603, allocations: 187.5 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.7606, allocations: 71.8 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.7607, allocations: 59.88 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.899e-05/0.7608, allocations: 7.984 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.073e-05/0.7609, allocations: 39.89 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.7611, allocations: 87.78 kB / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.7611, allocations: 4 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004566/0.7615, allocations: 235.6 kB / 1.21 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.7617, allocations: 99.72 kB / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.07e-05/0.7618, allocations: 95.2 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005463/0.7624, allocations: 349.2 kB / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.7624, allocations: 0 / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7624, allocations: 0 / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.607e-06/0.7624, allocations: 0 / 1.211 GB, free: 9.953 MB / 0.9356 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.0009531/0.7634, allocations: 0.6146 MB / 1.211 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.7634, allocations: 8.031 kB / 1.211 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.785e-05/0.7635, allocations: 38.73 kB / 1.211 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.659e-05/0.7636, allocations: 32.47 kB / 1.211 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009245/0.7645, allocations: 0.9198 MB / 1.212 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.7645, allocations: 4.375 kB / 1.212 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.7645, allocations: 4.359 kB / 1.212 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.7647, allocations: 89.72 kB / 1.212 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.7647, allocations: 0 / 1.212 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.7648, allocations: 8 kB / 1.212 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.7648, allocations: 0 / 1.212 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.765, allocations: 95.94 kB / 1.213 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006864/0.7657, allocations: 0.5787 MB / 1.213 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.7659, allocations: 106.5 kB / 1.213 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.766, allocations: 56.89 kB / 1.213 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.038e-05/0.7661, allocations: 19.98 kB / 1.213 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.7661, allocations: 34.55 kB / 1.213 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.7661, allocations: 0 / 1.213 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.000516/0.7666, allocations: 213.3 kB / 1.214 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.7667, allocations: 55.44 kB / 1.214 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.7679, allocations: 1.209 MB / 1.215 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.7679, allocations: 29.7 kB / 1.215 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.768, allocations: 176.1 kB / 1.215 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.7681, allocations: 3.906 kB / 1.215 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.7681, allocations: 21.66 kB / 1.215 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.7683, allocations: 350.7 kB / 1.215 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.7684, allocations: 51.97 kB / 1.215 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.7685, allocations: 51.97 kB / 1.215 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.7687, allocations: 100.8 kB / 1.216 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7687, allocations: 0 / 1.216 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003222/0.7691, allocations: 173.2 kB / 1.216 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.7691, allocations: 8 kB / 1.216 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.7691, allocations: 0 / 1.216 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.7691, allocations: 0 / 1.216 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.821e-05/0.7692, allocations: 7.984 kB / 1.216 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.7692, allocations: 4 kB / 1.216 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.024e-05/0.7693, allocations: 7.984 kB / 1.216 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.7693, allocations: 0 / 1.216 GB, free: 4.676 MB / 0.9356 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.0001468/0.7695, allocations: 173.8 kB / 1.216 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.7695, allocations: 31.62 kB / 1.216 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.7699, allocations: 168.1 kB / 1.216 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.7699, allocations: 0 / 1.216 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7699, allocations: 0 / 1.216 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.7699, allocations: 0 / 1.216 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.7702, allocations: 301.4 kB / 1.216 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.7702, allocations: 4 kB / 1.216 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.893e-05/0.7703, allocations: 12.02 kB / 1.216 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.7703, allocations: 0 / 1.216 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.7703, allocations: 0 / 1.216 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.7703, allocations: 7.938 kB / 1.216 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.7703, allocations: 0 / 1.216 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.7707, allocations: 263 kB / 1.217 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.7708, allocations: 124.7 kB / 1.217 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.7708, allocations: 8 kB / 1.217 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.7709, allocations: 7.984 kB / 1.217 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.771, allocations: 0 / 1.217 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.771, allocations: 0 / 1.217 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008448/0.7719, allocations: 0.952 MB / 1.218 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7719, allocations: 0 / 1.218 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003762/0.7722, allocations: 79.94 kB / 1.218 GB, free: 2.469 MB / 0.9356 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.0008207/0.7731, allocations: 0.8525 MB / 1.219 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.7734, allocations: 99.92 kB / 1.219 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.7734, allocations: 4.094 kB / 1.219 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.7735, allocations: 55.91 kB / 1.219 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.7739, allocations: 21.56 kB / 1.219 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007134/0.7811, allocations: 6.749 MB / 1.225 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.7814, allocations: 0.7866 MB / 1.226 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001322/0.7816, allocations: 42.92 kB / 1.226 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.7817, allocations: 95.39 kB / 1.226 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of SimCode: time 7.72e-07/0.7818, allocations: 0 / 1.226 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03177/0.8135, allocations: 7.226 MB / 1.233 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/9.038, allocations: 10.98 kB / 1.233 GB, free: 2.512 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches