Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 200.2 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.859/2.859, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=2500,variableFilter="time|m_flow",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 67.89 kB / 1.109 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9217/0.9237, allocations: 168.7 MB / 1.274 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002794/0.9265, allocations: 1.508 MB / 1.276 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.9278, allocations: 0.7495 MB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.864e-05/0.9278, allocations: 4 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.9281, allocations: 131.7 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.9282, allocations: 67.83 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006577/0.9288, allocations: 176.5 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.929, allocations: 71.8 kB / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.929, allocations: 6.609 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.436e-05/0.9291, allocations: 39.88 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.9292, allocations: 87.83 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.9292, allocations: 4 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004018/0.9296, allocations: 231.7 kB / 1.277 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.9297, allocations: 59.83 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.037e-05/0.9298, allocations: 63.47 kB / 1.277 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003779/0.9302, allocations: 282.8 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.9302, allocations: 0 / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9302, allocations: 0 / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.9302, allocations: 0 / 1.277 GB, free: 1.051 MB / 0.9669 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.0007566/0.9309, allocations: 0.5096 MB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.931, allocations: 8.031 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.931, allocations: 24.75 kB / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.9313, allocations: 260 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.9313, allocations: 4.375 kB / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.9314, allocations: 4.359 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.9316, allocations: 77.98 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.9316, allocations: 3.938 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.9316, allocations: 3.984 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.9316, allocations: 0 / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.9318, allocations: 83.98 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.9325, allocations: 400.6 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.9327, allocations: 94.52 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.9328, allocations: 44.89 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.711e-05/0.9328, allocations: 15.98 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.9329, allocations: 38.5 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.9329, allocations: 0 / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004667/0.9333, allocations: 177.5 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.9334, allocations: 55.41 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.9338, allocations: 351.2 kB / 1.28 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.9338, allocations: 25.7 kB / 1.28 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.9339, allocations: 144.2 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.9339, allocations: 3.953 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.934, allocations: 29.7 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.9342, allocations: 338.8 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.9343, allocations: 95.95 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.9345, allocations: 106.6 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.9348, allocations: 216.6 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.9348, allocations: 0 / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000393/0.9352, allocations: 249.4 kB / 1.281 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.9352, allocations: 4 kB / 1.281 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.9352, allocations: 3.938 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.9353, allocations: 0 / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.9354, allocations: 11.98 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.9354, allocations: 4 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.029e-05/0.9354, allocations: 11.89 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.9355, allocations: 0 / 1.281 GB, free: 13.5 MB / 0.9825 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.0001374/0.9356, allocations: 154.2 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.9356, allocations: 23.86 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.9359, allocations: 138.6 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.9359, allocations: 4.031 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.936, allocations: 0 / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.936, allocations: 0 / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.9362, allocations: 249.5 kB / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.9362, allocations: 0 / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.946e-05/0.9363, allocations: 7.984 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.9363, allocations: 0 / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.9363, allocations: 4 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9363, allocations: 0 / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.9363, allocations: 0 / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.9366, allocations: 243.2 kB / 1.282 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.9367, allocations: 96.97 kB / 1.282 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.9368, allocations: 4 kB / 1.282 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.022e-05/0.9369, allocations: 7.984 kB / 1.282 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.9369, allocations: 0 / 1.282 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.9369, allocations: 0 / 1.282 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002642/0.9372, allocations: 257.9 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9372, allocations: 0 / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003707/0.9375, allocations: 67.88 kB / 1.282 GB, free: 12.16 MB / 0.9825 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.0003155/0.9378, allocations: 159 kB / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003494/0.9382, allocations: 147.8 kB / 1.282 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9382, allocations: 0 / 1.282 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.9383, allocations: 47.97 kB / 1.282 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.9387, allocations: 18.31 kB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006607/0.9393, allocations: 392.7 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.9397, allocations: 0.7353 MB / 1.283 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.094e-05/0.9397, allocations: 12.75 kB / 1.283 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.9398, allocations: 19.44 kB / 1.283 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.9398, allocations: 0 / 1.283 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of Templates: time 0.006069/0.9459, allocations: 2.116 MB / 1.285 GB, free: 8.473 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.946264402009547]