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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.007439/0.007439, allocations: 97.64 kB / 15.73 MB, free: 6.047 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.001814/0.001814, allocations: 203.1 kB / 16.68 MB, free: 5.965 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.772/2.772, allocations: 482.6 MB / 0.755 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 64.11 kB / 1.083 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.296, allocations: 162.3 MB / 1.242 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002488/0.2985, allocations: 1.49 MB / 1.243 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.2997, allocations: 0.74 MB / 1.244 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.2997, allocations: 0 / 1.244 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.2999, allocations: 131.8 kB / 1.244 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.068e-05/0.3, allocations: 71.83 kB / 1.244 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.3006, allocations: 179.5 kB / 1.244 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.738e-05/0.3007, allocations: 55.89 kB / 1.245 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.338e-05/0.3007, allocations: 7.969 kB / 1.245 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.924e-05/0.3008, allocations: 39.91 kB / 1.245 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.3009, allocations: 83.84 kB / 1.245 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.3009, allocations: 0 / 1.245 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003881/0.3013, allocations: 235.6 kB / 1.245 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.476e-05/0.3014, allocations: 59.83 kB / 1.245 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.3015, allocations: 55.48 kB / 1.245 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.3018, allocations: 271 kB / 1.245 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3018, allocations: 0 / 1.245 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.406e-06/0.3018, allocations: 0 / 1.245 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.3019, allocations: 3.938 kB / 1.245 GB, free: 6.281 MB / 0.9981 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.0006362/0.3025, allocations: 0.5213 MB / 1.246 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.3025, allocations: 8.031 kB / 1.246 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.078e-05/0.3026, allocations: 30.75 kB / 1.246 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.3026, allocations: 20.8 kB / 1.246 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.3029, allocations: 263.8 kB / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.3029, allocations: 384 / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.3029, allocations: 384 / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.3031, allocations: 85.78 kB / 1.246 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.3031, allocations: 0 / 1.246 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.3031, allocations: 0 / 1.246 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3031, allocations: 0 / 1.246 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.3034, allocations: 83.94 kB / 1.246 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/0.3039, allocations: 408.6 kB / 1.247 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.3041, allocations: 86.53 kB / 1.247 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.3042, allocations: 52.88 kB / 1.247 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.537e-05/0.3043, allocations: 15.98 kB / 1.247 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.3043, allocations: 30.56 kB / 1.247 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3043, allocations: 0 / 1.247 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004468/0.3048, allocations: 189.4 kB / 1.247 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.3048, allocations: 51.41 kB / 1.247 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003979/0.3052, allocations: 351.2 kB / 1.247 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3053, allocations: 25.7 kB / 1.247 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.893e-05/0.3054, allocations: 140.1 kB / 1.248 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.3054, allocations: 11.89 kB / 1.248 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.3054, allocations: 29.64 kB / 1.248 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.3056, allocations: 342.9 kB / 1.248 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.3058, allocations: 91.95 kB / 1.248 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.3059, allocations: 99.94 kB / 1.248 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.3062, allocations: 203.4 kB / 1.248 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3063, allocations: 0 / 1.248 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003734/0.3066, allocations: 265.3 kB / 1.248 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.3067, allocations: 4 kB / 1.249 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3067, allocations: 0 / 1.249 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.3067, allocations: 0 / 1.249 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.28e-05/0.3068, allocations: 11.98 kB / 1.249 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3068, allocations: 0 / 1.249 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.7e-05/0.3068, allocations: 19.83 kB / 1.249 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.3069, allocations: 8 kB / 1.249 GB, free: 2.66 MB / 0.9981 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 0.0001176/0.307, allocations: 145.8 kB / 1.249 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.307, allocations: 19.86 kB / 1.249 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.3073, allocations: 150.5 kB / 1.249 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3073, allocations: 0 / 1.249 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3073, allocations: 0 / 1.249 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3073, allocations: 0 / 1.249 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.3076, allocations: 245.5 kB / 1.249 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.3076, allocations: 0 / 1.249 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.752e-05/0.3077, allocations: 16.02 kB / 1.249 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3077, allocations: 0 / 1.249 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.3077, allocations: 0 / 1.249 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3077, allocations: 0 / 1.249 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3077, allocations: 0 / 1.249 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.308, allocations: 231.3 kB / 1.249 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-05/0.3081, allocations: 109 kB / 1.249 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.3081, allocations: 0 / 1.249 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-05/0.3082, allocations: 7.984 kB / 1.249 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.3082, allocations: 0 / 1.249 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.3083, allocations: 0 / 1.249 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002511/0.3085, allocations: 257.8 kB / 1.25 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3085, allocations: 0 / 1.25 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003107/0.3088, allocations: 63.94 kB / 1.25 GB, free: 1.34 MB / 0.9981 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.0007842/0.3096, allocations: 0.822 MB / 1.251 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003167/0.31, allocations: 159.8 kB / 1.251 GB, free: 344 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.31, allocations: 4.031 kB / 1.251 GB, free: 340 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.3101, allocations: 51.91 kB / 1.251 GB, free: 288 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.3104, allocations: 16.59 kB / 1.251 GB, free: 272 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4995/0.8099, allocations: 2.71 MB / 1.253 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.8101, allocations: 0.7384 MB / 1.254 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.824e-05/0.8102, allocations: 16.42 kB / 1.254 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.8102, allocations: 54.84 kB / 1.254 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/0.8102, allocations: 0.5938 kB / 1.254 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3135/1.124, allocations: 4.298 MB / 1.258 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.529/9.652, allocations: 9.312 kB / 1.258 GB, free: 12.44 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=400 --tolerance=1e-06 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.mat","/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