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.001209/0.001209, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00191/0.003119, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001112/0.001112, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.002575, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.003/1.003, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08843/1.091, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.419/2.419, allocations: 446.7 MB / 0.6745 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.265/2.684, allocations: 145.9 MB / 0.817 GB, free: 4.176 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8184 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.57e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.793 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.003173/0.003199, allocations: 1.61 MB / 0.8199 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.00443, allocations: 0.7398 MB / 0.8207 GB, free: 432 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.49e-05/0.004475, allocations: 4 kB / 0.8207 GB, free: 428 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.004688, allocations: 131.7 kB / 0.8208 GB, free: 296 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 9.598e-05/0.004784, allocations: 79.81 kB / 0.8209 GB, free: 216 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006013/0.005386, allocations: 159.5 kB / 0.821 GB, free: 56 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.005534, allocations: 63.81 kB / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.005575, allocations: 4 kB / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.0057, allocations: 59.86 kB / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.005803, allocations: 59.94 kB / 0.8212 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.005818, allocations: 4 kB / 0.8212 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004775/0.006296, allocations: 263.5 kB / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.368e-05/0.00639, allocations: 59.78 kB / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.006429, allocations: 23.88 kB / 0.8215 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004022/0.006831, allocations: 259.2 kB / 0.8218 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.859e-05/0.006849, allocations: 0 / 0.8218 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.293e-06/0.006851, allocations: 0 / 0.8218 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.876e-05/0.006869, allocations: 0 / 0.8218 GB, free: 15.27 MB / 0.8073 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.0006124/0.007482, allocations: 439 kB / 0.8222 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.007522, allocations: 16.62 kB / 0.8222 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.007561, allocations: 8.922 kB / 0.8222 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.007755, allocations: 177.9 kB / 0.8224 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.007765, allocations: 384 / 0.8224 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.007773, allocations: 384 / 0.8224 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.007896, allocations: 53.78 kB / 0.8224 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.007904, allocations: 4.125 kB / 0.8224 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.007912, allocations: 4.375 kB / 0.8224 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.007919, allocations: 7.875 kB / 0.8225 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.199e-05/0.007941, allocations: 0 / 0.8225 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002604/0.008201, allocations: 193.9 kB / 0.8226 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.565e-05/0.008267, allocations: 65.31 kB / 0.8227 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.008284, allocations: 8.922 kB / 0.8227 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.183e-05/0.008345, allocations: 15.98 kB / 0.8227 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.008374, allocations: 34.5 kB / 0.8228 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.008375, allocations: 4 kB / 0.8228 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001304/0.008505, allocations: 49.62 kB / 0.8228 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.008538, allocations: 51.41 kB / 0.8229 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.008739, allocations: 267 kB / 0.8231 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.008751, allocations: 25.7 kB / 0.8231 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.008805, allocations: 112.6 kB / 0.8232 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.124e-05/0.008816, allocations: 3.953 kB / 0.8232 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.008856, allocations: 29.67 kB / 0.8233 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.008961, allocations: 334.8 kB / 0.8236 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/0.008989, allocations: 18.83 kB / 0.8236 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.901e-05/0.009008, allocations: 12 kB / 0.8236 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.734e-05/0.009065, allocations: 55.59 kB / 0.8237 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.009068, allocations: 0 / 0.8237 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001035/0.009172, allocations: 84.72 kB / 0.8238 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.009186, allocations: 4 kB / 0.8238 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.009193, allocations: 0 / 0.8238 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.009204, allocations: 7.938 kB / 0.8238 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.444e-05/0.009269, allocations: 7.984 kB / 0.8238 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.009271, allocations: 0 / 0.8238 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.545e-05/0.009307, allocations: 11.84 kB / 0.8238 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.009313, allocations: 4 kB / 0.8238 GB, free: 13.04 MB / 0.8073 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 6.887e-05/0.009382, allocations: 116.6 kB / 0.8239 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.009408, allocations: 11.98 kB / 0.8239 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.009513, allocations: 54.78 kB / 0.824 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.009517, allocations: 3.938 kB / 0.824 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.009519, allocations: 4 kB / 0.824 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.009526, allocations: 4.078 kB / 0.824 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.009662, allocations: 105.8 kB / 0.8241 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.009664, allocations: 0 / 0.8241 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.305e-05/0.009697, allocations: 7.984 kB / 0.8241 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.009722, allocations: 19.86 kB / 0.8241 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.009725, allocations: 0 / 0.8241 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-06/0.009728, allocations: 0 / 0.8241 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.009732, allocations: 7.969 kB / 0.8241 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.009733, allocations: 0 / 0.8241 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.009857, allocations: 194.2 kB / 0.8243 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.009873, allocations: 0 / 0.8243 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.408e-05/0.009927, allocations: 0 / 0.8243 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.009958, allocations: 7.938 kB / 0.8243 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.009962, allocations: 3.984 kB / 0.8243 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001017/0.01006, allocations: 92.64 kB / 0.8244 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.01006, allocations: 0 / 0.8244 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002898/0.01035, allocations: 63.92 kB / 0.8245 GB, free: 12.3 MB / 0.8073 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.0002804/0.01063, allocations: 156.2 kB / 0.8246 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.285e-05/0.01073, allocations: 28.86 kB / 0.8246 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.01073, allocations: 3.938 kB / 0.8246 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.085e-05/0.01075, allocations: 12.86 kB / 0.8247 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.01097, allocations: 24.58 kB / 0.8247 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.01203, allocations: 334.6 kB / 0.825 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.494e-05/0.01209, allocations: 83.3 kB / 0.8251 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.281e-05/0.01213, allocations: 16.48 kB / 0.8251 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.977e-05/0.01219, allocations: 59.38 kB / 0.8251 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of SimCode: time 1.012e-06/0.01219, allocations: 0 / 0.8251 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of Templates: time 0.005161/0.01736, allocations: 2.226 MB / 0.8273 GB, free: 9.32 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 300] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.434282258152962]