Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.00112/0.00112, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001759/0.002879, allocations: 449.8 kB / 10.44 MB, free: 252 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.001089/0.001089, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001582/0.002671, allocations: 479.5 kB / 11.83 MB, free: 2.344 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 0.9955/0.9955, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09961/1.095, 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 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.896/1.896, allocations: 378.4 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4919/2.388, allocations: 123.3 MB / 0.7283 GB, free: 5.75 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.7297 GB, free: 4.422 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.564e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.418 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.003104/0.003129, allocations: 1.585 MB / 0.7312 GB, free: 2.855 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.004551, allocations: 0.7897 MB / 0.732 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.004602, allocations: 4 kB / 0.732 GB, free: 2.066 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.004854, allocations: 140.2 kB / 0.7321 GB, free: 1.93 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005991/0.005453, allocations: 173 kB / 0.7323 GB, free: 1.766 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.005665, allocations: 64.73 kB / 0.7323 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.005822, allocations: 68.03 kB / 0.7324 GB, free: 1.645 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.94e-05/0.005911, allocations: 8.641 kB / 0.7324 GB, free: 1.637 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.006032, allocations: 63.81 kB / 0.7325 GB, free: 1.578 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.006158, allocations: 71.97 kB / 0.7325 GB, free: 1.512 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.006178, allocations: 4 kB / 0.7325 GB, free: 1.508 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005958/0.006774, allocations: 256.7 kB / 0.7328 GB, free: 1.258 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.006929, allocations: 112.6 kB / 0.7329 GB, free: 1.148 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.006975, allocations: 27.81 kB / 0.7329 GB, free: 1.121 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004681/0.007443, allocations: 288 kB / 0.7332 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.488e-05/0.007458, allocations: 0 / 0.7332 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.51e-07/0.007459, allocations: 1.25 kB / 0.7332 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.611e-05/0.007475, allocations: 0 / 0.7332 GB, free: 0.8398 MB / 0.698 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.0007944/0.008269, allocations: 0.4985 MB / 0.7337 GB, free: 324 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.008311, allocations: 8.562 kB / 0.7337 GB, free: 316 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.008362, allocations: 24.91 kB / 0.7337 GB, free: 292 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.008551, allocations: 244.6 kB / 0.734 GB, free: 20 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.00856, allocations: 384 / 0.734 GB, free: 20 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.008569, allocations: 384 / 0.734 GB, free: 20 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.008681, allocations: 53.78 kB / 0.734 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.008688, allocations: 1 kB / 0.734 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-06/0.008694, allocations: 384 / 0.734 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.008699, allocations: 4.438 kB / 0.734 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.863e-05/0.008717, allocations: 4 kB / 0.734 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.00893, allocations: 176.8 kB / 0.7342 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.869e-05/0.008979, allocations: 65.31 kB / 0.7342 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.008993, allocations: 8.859 kB / 0.7343 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.446e-05/0.009038, allocations: 24.95 kB / 0.7343 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.009055, allocations: 34.55 kB / 0.7343 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.009057, allocations: 1.25 kB / 0.7343 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001103/0.009167, allocations: 53.56 kB / 0.7344 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.009194, allocations: 55.41 kB / 0.7344 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.009421, allocations: 378.7 kB / 0.7348 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.009431, allocations: 25.7 kB / 0.7348 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.009481, allocations: 121 kB / 0.7349 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.009498, allocations: 15.94 kB / 0.7349 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.009538, allocations: 37.64 kB / 0.735 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.071e-05/0.009629, allocations: 348 kB / 0.7353 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.549e-05/0.009654, allocations: 18.83 kB / 0.7353 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.232e-05/0.009677, allocations: 23.22 kB / 0.7353 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.387e-05/0.009731, allocations: 52.27 kB / 0.7354 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.009733, allocations: 0 / 0.7354 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.74e-05/0.00983, allocations: 94.7 kB / 0.7355 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.009842, allocations: 4 kB / 0.7355 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.009846, allocations: 3.938 kB / 0.7355 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.009858, allocations: 8.562 kB / 0.7355 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.00996, allocations: 29.02 kB / 0.7355 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.009963, allocations: 4 kB / 0.7355 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.009991, allocations: 0 / 0.7355 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.009998, allocations: 4.531 kB / 0.7355 GB, free: 14.3 MB / 0.7136 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 (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 7.232e-05/0.01007, allocations: 118 kB / 0.7356 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.01009, allocations: 15.98 kB / 0.7357 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.098e-05/0.01018, allocations: 59.94 kB / 0.7357 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.01019, allocations: 12.45 kB / 0.7357 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01019, allocations: 1.219 kB / 0.7357 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.01019, allocations: 0 / 0.7357 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.0103, allocations: 113.8 kB / 0.7358 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.0103, allocations: 4.859 kB / 0.7358 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.01034, allocations: 7.984 kB / 0.7359 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.01037, allocations: 32.98 kB / 0.7359 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.01037, allocations: 0 / 0.7359 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-06/0.01037, allocations: 0 / 0.7359 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.01037, allocations: 3.938 kB / 0.7359 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01037, allocations: 0.75 kB / 0.7359 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.01047, allocations: 198.9 kB / 0.7361 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.01049, allocations: 0 / 0.7361 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.036e-05/0.01053, allocations: 4.594 kB / 0.7361 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.01056, allocations: 11.92 kB / 0.7361 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.01056, allocations: 1.594 kB / 0.7361 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001214/0.01068, allocations: 163.5 kB / 0.7363 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01068, allocations: 0 / 0.7363 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002253/0.01091, allocations: 83.86 kB / 0.7363 GB, free: 13.44 MB / 0.7136 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.0002228/0.01113, allocations: 153.5 kB / 0.7365 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.509e-05/0.01121, allocations: 47.72 kB / 0.7365 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.01122, allocations: 7.938 kB / 0.7365 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.949e-05/0.01124, allocations: 12.86 kB / 0.7365 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.01145, allocations: 70.34 kB / 0.7366 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006023/0.01205, allocations: 461.5 kB / 0.737 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.711e-05/0.01211, allocations: 95.94 kB / 0.7371 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.934e-05/0.01215, allocations: 26.62 kB / 0.7372 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.411e-05/0.01221, allocations: 71.39 kB / 0.7372 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/0.01221, allocations: 0 / 0.7372 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of Templates: time 0.005363/0.01757, allocations: 3.099 MB / 0.7403 GB, free: 9.523 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate/Buildings_12_Buildings.Utilities.Math.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: 4.952596947550774]