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.001267/0.001267, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001568/0.002835, allocations: 440 kB / 10.41 MB, free: 280 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.00078/0.00078, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00106/0.00184, allocations: 475.6 kB / 11.79 MB, free: 2.371 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/1, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08372/1.084, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.396/2.396, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2446/2.641, allocations: 146 MB / 0.8176 GB, free: 3.828 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.373e-06/1.373e-06, allocations: 0 / 0.819 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.197e-05, allocations: 2.312 kB / 0.819 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.001989/0.002011, allocations: 1.603 MB / 0.8206 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008361/0.002847, allocations: 0.7437 MB / 0.8213 GB, free: 72 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.002887, allocations: 0 / 0.8213 GB, free: 72 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.003066, allocations: 143.6 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.956e-05/0.003136, allocations: 63.84 kB / 0.8215 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.003532, allocations: 163.5 kB / 0.8216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.395e-05/0.003626, allocations: 67.81 kB / 0.8217 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.796e-05/0.003654, allocations: 3.984 kB / 0.8217 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.981e-05/0.003744, allocations: 55.88 kB / 0.8218 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.193e-05/0.003826, allocations: 75.84 kB / 0.8218 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.003842, allocations: 0 / 0.8218 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.004173, allocations: 263.6 kB / 0.8221 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.716e-05/0.00425, allocations: 59.84 kB / 0.8221 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.004277, allocations: 23.88 kB / 0.8222 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.004537, allocations: 263.1 kB / 0.8224 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.004548, allocations: 0 / 0.8224 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004549, allocations: 0 / 0.8224 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.00456, allocations: 0 / 0.8224 GB, free: 14.91 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.0004695/0.00503, allocations: 435 kB / 0.8228 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.699e-05/0.005057, allocations: 12.03 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.00509, allocations: 12.92 kB / 0.8228 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.005231, allocations: 174 kB / 0.823 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.00524, allocations: 8.359 kB / 0.823 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.005251, allocations: 4.375 kB / 0.823 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.965e-05/0.005341, allocations: 49.78 kB / 0.8231 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.005348, allocations: 4.172 kB / 0.8231 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.39e-06/0.005353, allocations: 384 / 0.8231 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/0.005384, allocations: 19.92 kB / 0.8231 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.742e-05/0.005401, allocations: 7.938 kB / 0.8231 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.005586, allocations: 177.9 kB / 0.8233 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.994e-05/0.005636, allocations: 69.31 kB / 0.8233 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.253e-05/0.005649, allocations: 12.92 kB / 0.8234 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.005682, allocations: 16.03 kB / 0.8234 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.005701, allocations: 38.55 kB / 0.8234 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.005702, allocations: 0 / 0.8234 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.805e-05/0.0058, allocations: 49.56 kB / 0.8234 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.005824, allocations: 51.41 kB / 0.8235 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.005961, allocations: 262.9 kB / 0.8237 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.005972, allocations: 29.7 kB / 0.8238 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.006013, allocations: 104.6 kB / 0.8239 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.208e-06/0.006023, allocations: 8.078 kB / 0.8239 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.006053, allocations: 37.67 kB / 0.8239 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.637e-05/0.00613, allocations: 334.8 kB / 0.8242 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.006148, allocations: 14.83 kB / 0.8243 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.213e-05/0.00616, allocations: 12 kB / 0.8243 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.8e-05/0.006198, allocations: 51.3 kB / 0.8243 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.0062, allocations: 0 / 0.8243 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 6.902e-05/0.006269, allocations: 79.78 kB / 0.8244 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.00628, allocations: 9.406 kB / 0.8244 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.006284, allocations: 0 / 0.8244 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.006296, allocations: 7.938 kB / 0.8244 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.964e-05/0.006335, allocations: 4 kB / 0.8244 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.006338, allocations: 0 / 0.8244 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.201e-05/0.00636, allocations: 19.84 kB / 0.8244 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.006363, allocations: 0 / 0.8244 GB, free: 12.68 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 4.892e-05/0.006412, allocations: 112.6 kB / 0.8245 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.00643, allocations: 11.98 kB / 0.8245 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.269e-05/0.006503, allocations: 62.7 kB / 0.8246 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.006506, allocations: 3.938 kB / 0.8246 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.006507, allocations: 4.031 kB / 0.8246 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.00651, allocations: 0 / 0.8246 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.006642, allocations: 101.8 kB / 0.8247 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006644, allocations: 0 / 0.8247 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.006668, allocations: 4 kB / 0.8247 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.445e-05/0.006702, allocations: 23.84 kB / 0.8247 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.006704, allocations: 0 / 0.8247 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.006709, allocations: 0 / 0.8247 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.006712, allocations: 7.922 kB / 0.8247 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006714, allocations: 0 / 0.8247 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.948e-05/0.006803, allocations: 198.2 kB / 0.8249 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.006813, allocations: 0 / 0.8249 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.296e-05/0.006846, allocations: 3.984 kB / 0.8249 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.006869, allocations: 7.938 kB / 0.8249 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.006871, allocations: 0 / 0.8249 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.331e-05/0.006934, allocations: 92.64 kB / 0.825 GB, free: 12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.006934, allocations: 0 / 0.825 GB, free: 12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001835/0.007117, allocations: 63.92 kB / 0.8251 GB, free: 11.93 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.0006294/0.007747, allocations: 160.2 kB / 0.8253 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.686e-05/0.007814, allocations: 32.88 kB / 0.8253 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.007819, allocations: 4 kB / 0.8253 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.504e-05/0.007834, allocations: 8.859 kB / 0.8253 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.007991, allocations: 62.22 kB / 0.8254 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006559/0.008647, allocations: 338.6 kB / 0.8257 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.268e-05/0.00869, allocations: 87.3 kB / 0.8258 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.592e-05/0.008716, allocations: 8.5 kB / 0.8258 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.008761, allocations: 67.36 kB / 0.8258 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of SimCode: time 3.21e-07/0.008761, allocations: 0 / 0.8258 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of Templates: time 0.003587/0.01235, allocations: 2.258 MB / 0.828 GB, free: 8.867 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.171309921890497]