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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 99.64 kB / 18.95 MB, free: 2.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002551/0.002551, allocations: 214.6 kB / 22.24 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.404/3.404, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 70.41 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3984, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.003821/0.4023, allocations: 1.526 MB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001839/0.4041, allocations: 0.7101 MB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.4042, allocations: 0 / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.4045, allocations: 135.7 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.4046, allocations: 71.83 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007196/0.4053, allocations: 182.2 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.4054, allocations: 75.73 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.27e-05/0.4055, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.186e-05/0.4055, allocations: 43.88 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.4057, allocations: 87.83 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.4057, allocations: 8 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000454/0.4061, allocations: 239.6 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.4062, allocations: 59.83 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.246e-05/0.4063, allocations: 43.61 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004213/0.4067, allocations: 279 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4067, allocations: 0 / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4067, allocations: 0 / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.904e-06/0.4067, allocations: 0 / 1.367 GB, free: 10.62 MB / 1.061 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.0008791/0.4076, allocations: 444.8 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/0.4077, allocations: 8.031 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.025e-05/0.4078, allocations: 42.75 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.761e-05/0.4078, allocations: 20.8 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.4082, allocations: 202.7 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.4082, allocations: 4.375 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.4082, allocations: 384 / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.4085, allocations: 85.72 kB / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4085, allocations: 0 / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.4085, allocations: 0 / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.4085, allocations: 0 / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.4087, allocations: 95.86 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008041/0.4096, allocations: 355.8 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.4098, allocations: 90.53 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.4099, allocations: 48.89 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.239e-05/0.4099, allocations: 15.98 kB / 1.368 GB, free: 9.109 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.41, allocations: 30.56 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.41, allocations: 0 / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0004763/0.4104, allocations: 185.4 kB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.4105, allocations: 51.41 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004345/0.4109, allocations: 360.4 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.4109, allocations: 25.7 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.4111, allocations: 140.1 kB / 1.369 GB, free: 8.281 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.4111, allocations: 7.953 kB / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.4111, allocations: 29.69 kB / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.4113, allocations: 338.9 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.4115, allocations: 95.95 kB / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.4116, allocations: 95.94 kB / 1.369 GB, free: 7.711 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.4119, allocations: 211.2 kB / 1.37 GB, free: 7.504 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4119, allocations: 0 / 1.37 GB, free: 7.504 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00039/0.4123, allocations: 253.4 kB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4123, allocations: 8 kB / 1.37 GB, free: 7.242 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.4124, allocations: 4 kB / 1.37 GB, free: 7.238 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4124, allocations: 0 / 1.37 GB, free: 7.238 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.619e-05/0.4125, allocations: 11.98 kB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4125, allocations: 0 / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.561e-05/0.4126, allocations: 23.88 kB / 1.37 GB, free: 7.203 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.4126, allocations: 0 / 1.37 GB, free: 7.203 MB / 1.061 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.0001407/0.4127, allocations: 141.8 kB / 1.37 GB, free: 7.055 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.4127, allocations: 19.86 kB / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003639/0.4131, allocations: 150.6 kB / 1.37 GB, free: 6.879 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4131, allocations: 0 / 1.37 GB, free: 6.879 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4131, allocations: 0 / 1.37 GB, free: 6.879 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4131, allocations: 0 / 1.37 GB, free: 6.879 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.4134, allocations: 208.6 kB / 1.37 GB, free: 6.633 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4134, allocations: 4 kB / 1.37 GB, free: 6.629 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.476e-05/0.4134, allocations: 7.984 kB / 1.37 GB, free: 6.621 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4134, allocations: 96 / 1.37 GB, free: 6.621 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.4134, allocations: 7.922 kB / 1.37 GB, free: 6.613 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.4134, allocations: 11.97 kB / 1.37 GB, free: 6.602 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4135, allocations: 0 / 1.37 GB, free: 6.602 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.4138, allocations: 239.2 kB / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.4139, allocations: 23.86 kB / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.4139, allocations: 0 / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.414, allocations: 7.984 kB / 1.371 GB, free: 6.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.414, allocations: 0 / 1.371 GB, free: 6.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.414, allocations: 4 kB / 1.371 GB, free: 6.316 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002768/0.4143, allocations: 259 kB / 1.371 GB, free: 6.066 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4143, allocations: 0 / 1.371 GB, free: 6.066 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003759/0.4147, allocations: 63.88 kB / 1.371 GB, free: 6.004 MB / 1.061 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.0008605/0.4155, allocations: 0.8176 MB / 1.372 GB, free: 5.16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003313/0.4158, allocations: 147.8 kB / 1.372 GB, free: 5.016 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4158, allocations: 8.031 kB / 1.372 GB, free: 5.008 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.416, allocations: 43.97 kB / 1.372 GB, free: 4.965 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.4163, allocations: 11 kB / 1.372 GB, free: 4.957 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.4196, allocations: 2.726 MB / 1.375 GB, free: 2.156 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.4197, allocations: 127.2 kB / 1.375 GB, free: 2.012 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.42e-05/0.4198, allocations: 16.48 kB / 1.375 GB, free: 1.996 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.651e-05/0.4198, allocations: 55.36 kB / 1.375 GB, free: 1.941 MB / 1.061 GB Notification: Performance of SimCode: time 5.81e-07/0.4198, allocations: 4 kB / 1.375 GB, free: 1.938 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.4515, allocations: 4.85 MB / 1.38 GB, free: 13.23 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.85, allocations: 8.047 kB / 1.38 GB, free: 13.23 MB / 1.076 GB " [Timeout remaining time 288] (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 --stepSize=0.2 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Interpolate.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.109454127028584]