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.001497/0.001497, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001711/0.001711, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.464/1.464, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 2.696/2.696, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] 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.373e-06/1.373e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.674e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002999/0.003025, allocations: 1.518 MB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.004517, allocations: 0.7193 MB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.004564, allocations: 0.8438 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.004829, allocations: 129.5 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.004963, allocations: 81.16 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007221/0.005685, allocations: 181.1 kB / 0.789 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.005822, allocations: 63.8 kB / 0.7891 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.191e-05/0.005854, allocations: 5.594 kB / 0.7891 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003053/0.006159, allocations: 47.88 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.006304, allocations: 83.88 kB / 0.7892 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.006321, allocations: 4 kB / 0.7892 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004957/0.006816, allocations: 246.9 kB / 0.7894 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.006935, allocations: 63.83 kB / 0.7895 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.201e-05/0.006987, allocations: 23.88 kB / 0.7895 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005149/0.007502, allocations: 311.1 kB / 0.7898 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.007505, allocations: 0 / 0.7898 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.12e-07/0.007506, allocations: 0 / 0.7898 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.00751, allocations: 4 kB / 0.7898 GB, free: 9.32 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.0007669/0.008277, allocations: 444.8 kB / 0.7902 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.008315, allocations: 8.75 kB / 0.7902 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.274e-05/0.008387, allocations: 28.73 kB / 0.7903 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.008683, allocations: 198.6 kB / 0.7905 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.008698, allocations: 4.375 kB / 0.7905 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.008708, allocations: 1.938 kB / 0.7905 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.00893, allocations: 86.14 kB / 0.7905 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.008938, allocations: 192 / 0.7905 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.008947, allocations: 1.5 kB / 0.7905 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.008956, allocations: 3.938 kB / 0.7906 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.009196, allocations: 88.67 kB / 0.7906 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006015/0.009798, allocations: 333.2 kB / 0.791 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.01, allocations: 99.73 kB / 0.791 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.01013, allocations: 44.89 kB / 0.7911 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.214e-05/0.01018, allocations: 16.64 kB / 0.7911 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.01022, allocations: 39.78 kB / 0.7911 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.01022, allocations: 0 / 0.7911 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0005193/0.01074, allocations: 179 kB / 0.7913 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.01079, allocations: 51.41 kB / 0.7914 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004336/0.01122, allocations: 353 kB / 0.7917 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.01125, allocations: 29.7 kB / 0.7917 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.01138, allocations: 141.4 kB / 0.7919 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.0114, allocations: 7.891 kB / 0.7919 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.01145, allocations: 25.7 kB / 0.7919 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.01165, allocations: 338.8 kB / 0.7922 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.01184, allocations: 94.55 kB / 0.7923 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.012, allocations: 99.88 kB / 0.7924 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/0.01237, allocations: 208.3 kB / 0.7926 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.01237, allocations: 0.5312 kB / 0.7926 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004376/0.01281, allocations: 250.2 kB / 0.7928 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.01282, allocations: 9.219 kB / 0.7929 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01283, allocations: 4 kB / 0.7929 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.01285, allocations: 0 / 0.7929 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.294e-05/0.01294, allocations: 12.55 kB / 0.7929 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01294, allocations: 0.5 kB / 0.7929 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.676e-05/0.01302, allocations: 17.02 kB / 0.7929 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.01303, allocations: 0 / 0.7929 GB, free: 6.023 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.0001429/0.01317, allocations: 145.8 kB / 0.793 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/0.01323, allocations: 28.64 kB / 0.793 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.01356, allocations: 143.5 kB / 0.7932 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01356, allocations: 2.219 kB / 0.7932 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.01357, allocations: 0 / 0.7932 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.01357, allocations: 0 / 0.7932 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.01382, allocations: 185.2 kB / 0.7934 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.01382, allocations: 4 kB / 0.7934 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.358e-05/0.01389, allocations: 11.98 kB / 0.7934 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01389, allocations: 2.781 kB / 0.7934 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.0139, allocations: 3.938 kB / 0.7934 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.788e-06/0.01391, allocations: 7.938 kB / 0.7934 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01391, allocations: 0 / 0.7934 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.01428, allocations: 231.3 kB / 0.7936 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.01433, allocations: 29.31 kB / 0.7936 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.01436, allocations: 3.938 kB / 0.7936 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.345e-05/0.01445, allocations: 4 kB / 0.7937 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.01449, allocations: 4.484 kB / 0.7937 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.01449, allocations: 0 / 0.7937 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002921/0.01478, allocations: 252.1 kB / 0.7939 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01478, allocations: 0 / 0.7939 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003778/0.01516, allocations: 71.86 kB / 0.794 GB, free: 4.859 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.0003461/0.01551, allocations: 168.7 kB / 0.7941 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003481/0.01586, allocations: 144.6 kB / 0.7943 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01586, allocations: 0 / 0.7943 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.01598, allocations: 45.62 kB / 0.7943 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.01631, allocations: 14.2 kB / 0.7943 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006984/0.01701, allocations: 387.6 kB / 0.7947 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/0.01716, allocations: 127.8 kB / 0.7948 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.597e-05/0.01721, allocations: 17.61 kB / 0.7948 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.01725, allocations: 16.5 kB / 0.7948 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.01725, allocations: 0 / 0.7948 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of Templates: time 0.006559/0.02381, allocations: 2.151 MB / 0.7969 GB, free: 1.785 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.461157776997425]