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.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.001077/0.001077, allocations: 87.58 kB / 20.45 MB, free: 4.109 MB / 18.57 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.001247/0.001247, allocations: 161 kB / 23.82 MB, free: 0.7422 MB / 18.57 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.9276/0.9276, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.825/1.825, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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 1.633e-06/1.633e-06, allocations: 0 / 0.7871 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.909e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.001881/0.0019, allocations: 1.549 MB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009759/0.002876, allocations: 0.743 MB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.002915, allocations: 0 / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.003119, allocations: 128.9 kB / 0.7895 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.349e-05/0.003203, allocations: 77.28 kB / 0.7896 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005569/0.00376, allocations: 181.2 kB / 0.7898 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.785e-05/0.003858, allocations: 69.2 kB / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.239e-05/0.00389, allocations: 4 kB / 0.7898 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.383e-05/0.003944, allocations: 43.88 kB / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.381e-05/0.004038, allocations: 83.89 kB / 0.7899 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.004052, allocations: 4.969 kB / 0.79 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002998/0.004352, allocations: 239.5 kB / 0.7902 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.462e-05/0.004437, allocations: 68.89 kB / 0.7902 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.004474, allocations: 27.88 kB / 0.7903 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.004777, allocations: 303.1 kB / 0.7906 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.004779, allocations: 5.297 kB / 0.7906 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.71e-07/0.00478, allocations: 0 / 0.7906 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.004784, allocations: 0 / 0.7906 GB, free: 8.906 MB / 0.7448 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.0004673/0.005252, allocations: 0.5332 MB / 0.7911 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.005286, allocations: 8.031 kB / 0.7911 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.005328, allocations: 24.8 kB / 0.7911 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.005474, allocations: 184.8 kB / 0.7913 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.005486, allocations: 4.359 kB / 0.7913 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.005497, allocations: 4.375 kB / 0.7913 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.005602, allocations: 50.95 kB / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.00561, allocations: 192 / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.005618, allocations: 1.094 kB / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.005625, allocations: 3.938 kB / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.914e-05/0.005654, allocations: 17.58 kB / 0.7914 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.005982, allocations: 335.7 kB / 0.7917 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.311e-05/0.006036, allocations: 39.05 kB / 0.7917 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/0.006054, allocations: 9.438 kB / 0.7917 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.213e-05/0.006096, allocations: 19.98 kB / 0.7918 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.006118, allocations: 41.33 kB / 0.7918 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.006118, allocations: 3.938 kB / 0.7918 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001345/0.006253, allocations: 62.7 kB / 0.7919 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.006276, allocations: 51.41 kB / 0.7919 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.006493, allocations: 354.3 kB / 0.7922 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.006503, allocations: 27.3 kB / 0.7923 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.884e-05/0.006581, allocations: 194.8 kB / 0.7925 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.006593, allocations: 7.891 kB / 0.7925 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.00663, allocations: 43.34 kB / 0.7925 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.006758, allocations: 0.5135 MB / 0.793 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.702e-05/0.006785, allocations: 20 kB / 0.793 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.761e-05/0.006802, allocations: 18.39 kB / 0.793 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.241e-05/0.006855, allocations: 59.61 kB / 0.7931 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.006857, allocations: 0 / 0.7931 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.883e-05/0.006956, allocations: 109.7 kB / 0.7932 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.006968, allocations: 10.12 kB / 0.7932 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.006972, allocations: 0.5312 kB / 0.7932 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.006985, allocations: 0.7188 kB / 0.7932 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.955e-05/0.007045, allocations: 8 kB / 0.7932 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.007049, allocations: 0.5312 kB / 0.7932 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.007078, allocations: 13.2 kB / 0.7932 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.007084, allocations: 3.984 kB / 0.7932 GB, free: 5.977 MB / 0.7448 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.0001294/0.007214, allocations: 156.6 kB / 0.7934 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.007237, allocations: 24.33 kB / 0.7934 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.203e-05/0.00733, allocations: 60.09 kB / 0.7935 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.007331, allocations: 0 / 0.7935 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.007335, allocations: 0 / 0.7935 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.007338, allocations: 3.984 kB / 0.7935 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.00747, allocations: 189.7 kB / 0.7937 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.007471, allocations: 0 / 0.7937 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.007494, allocations: 11.98 kB / 0.7937 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.007496, allocations: 1.156 kB / 0.7937 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.007504, allocations: 7.938 kB / 0.7937 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.007505, allocations: 0 / 0.7937 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.007506, allocations: 0.8125 kB / 0.7937 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.322e-05/0.007599, allocations: 207.7 kB / 0.7939 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.007626, allocations: 24.78 kB / 0.7939 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.00764, allocations: 3.938 kB / 0.7939 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.507e-05/0.007675, allocations: 9.344 kB / 0.7939 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.007708, allocations: 3.984 kB / 0.7939 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.00771, allocations: 0 / 0.7939 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001166/0.007827, allocations: 235 kB / 0.7941 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007827, allocations: 0.875 kB / 0.7941 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002401/0.008067, allocations: 71.88 kB / 0.7942 GB, free: 4.922 MB / 0.7448 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.0002062/0.008273, allocations: 165.2 kB / 0.7944 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.099e-05/0.008364, allocations: 35.67 kB / 0.7944 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.008366, allocations: 0 / 0.7944 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.932e-05/0.008385, allocations: 20.3 kB / 0.7944 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.008573, allocations: 20.09 kB / 0.7944 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005623/0.009135, allocations: 319.3 kB / 0.7947 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.834e-05/0.009184, allocations: 87.86 kB / 0.7948 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.328e-05/0.009207, allocations: 6.094 kB / 0.7948 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.009242, allocations: 20.48 kB / 0.7949 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.009243, allocations: 0 / 0.7949 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of Templates: time 0.003922/0.01316, allocations: 2.182 MB / 0.797 GB, free: 2.062 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.976234818343073]