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 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: translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001225/0.001225, allocations: 187 kB / 17.34 MB, free: 5.742 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.628/2.628, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.91 kB / 1.055 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9404/0.9418, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002981/0.9448, allocations: 1.5 MB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.9461, allocations: 0.74 MB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.511e-05/0.9461, allocations: 0 / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.9464, allocations: 123.8 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.546e-05/0.9465, allocations: 71.84 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006847/0.9472, allocations: 186.6 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.9474, allocations: 59.86 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.9474, allocations: 4 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.742e-05/0.9475, allocations: 43.88 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.9476, allocations: 79.86 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.855e-05/0.9476, allocations: 3.938 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004234/0.9481, allocations: 227.7 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.463e-05/0.9482, allocations: 63.83 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.9483, allocations: 55.48 kB / 1.212 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003946/0.9487, allocations: 271.1 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.9487, allocations: 4 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9487, allocations: 0 / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.9487, allocations: 0 / 1.212 GB, free: 10.13 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.0007036/0.9494, allocations: 0.5001 MB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.9494, allocations: 11.97 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.9495, allocations: 24.66 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.9498, allocations: 263.6 kB / 1.213 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.9498, allocations: 384 / 1.213 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.9498, allocations: 4.375 kB / 1.213 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.95, allocations: 81.97 kB / 1.213 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.95, allocations: 0 / 1.213 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.95, allocations: 0 / 1.213 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.9501, allocations: 4 kB / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.9503, allocations: 87.92 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.9508, allocations: 392.7 kB / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.951, allocations: 90.47 kB / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.9511, allocations: 56.88 kB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.568e-05/0.9512, allocations: 23.95 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.9512, allocations: 34.56 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.9512, allocations: 0 / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004484/0.9517, allocations: 177.3 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.9517, allocations: 59.52 kB / 1.214 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/0.9521, allocations: 355.1 kB / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.9521, allocations: 33.64 kB / 1.214 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.9522, allocations: 136.1 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.9522, allocations: 3.906 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.9523, allocations: 25.7 kB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.9524, allocations: 334.8 kB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.9526, allocations: 99.94 kB / 1.214 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.9527, allocations: 91.95 kB / 1.215 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.953, allocations: 215.3 kB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.953, allocations: 0 / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003745/0.9534, allocations: 257.2 kB / 1.215 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.9534, allocations: 4 kB / 1.215 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.9534, allocations: 4 kB / 1.215 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.9535, allocations: 4 kB / 1.215 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.367e-05/0.9536, allocations: 7.984 kB / 1.215 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.9536, allocations: 0 / 1.215 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.199e-05/0.9536, allocations: 19.83 kB / 1.215 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.9537, allocations: 0 / 1.215 GB, free: 6.566 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 (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.0001096/0.9538, allocations: 145.7 kB / 1.215 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.9538, allocations: 19.72 kB / 1.215 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.9541, allocations: 146.6 kB / 1.215 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.9541, allocations: 0 / 1.215 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.9541, allocations: 3.938 kB / 1.215 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.9542, allocations: 4 kB / 1.215 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.9544, allocations: 241.5 kB / 1.216 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9544, allocations: 0 / 1.216 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-05/0.9545, allocations: 11.98 kB / 1.216 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.9545, allocations: 0 / 1.216 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.9545, allocations: 8.031 kB / 1.216 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.9545, allocations: 0 / 1.216 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.9545, allocations: 0 / 1.216 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.9548, allocations: 231.1 kB / 1.216 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.9549, allocations: 104.8 kB / 1.216 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.9549, allocations: 0 / 1.216 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.851e-05/0.955, allocations: 12.03 kB / 1.216 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.9551, allocations: 3.984 kB / 1.216 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.9551, allocations: 4 kB / 1.216 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002248/0.9553, allocations: 245.9 kB / 1.216 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.543e-06/0.9553, allocations: 0 / 1.216 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003454/0.9557, allocations: 71.92 kB / 1.216 GB, free: 5.238 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.0002949/0.956, allocations: 151.2 kB / 1.216 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003196/0.9563, allocations: 163.9 kB / 1.217 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9563, allocations: 0 / 1.217 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.9564, allocations: 51.89 kB / 1.217 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.9568, allocations: 16.59 kB / 1.217 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/0.9573, allocations: 409.6 kB / 1.217 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.9576, allocations: 0.7353 MB / 1.218 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.9577, allocations: 11.44 kB / 1.218 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of SimCode: time 1.733e-06/0.9577, allocations: 4 kB / 1.218 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of Templates: time 0.004378/0.9621, allocations: 2.409 MB / 1.22 GB, free: 1.25 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile (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 & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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