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.001883/0.001883, allocations: 79.7 kB / 20.23 MB, free: 4.188 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.001999/0.001999, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.536/1.536, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.894/2.894, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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 6.231e-06/6.231e-06, allocations: 3.984 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.186e-05/3.809e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.003041/0.003079, allocations: 1.517 MB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.004532, allocations: 0.735 MB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.172e-05/0.004573, allocations: 4 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.004894, allocations: 125.5 kB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.005041, allocations: 72.98 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006996/0.005741, allocations: 193 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.005877, allocations: 67.25 kB / 0.7891 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.005925, allocations: 7.938 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.244e-05/0.006008, allocations: 43.92 kB / 0.7891 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.006153, allocations: 83.89 kB / 0.7892 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.006174, allocations: 7.938 kB / 0.7892 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004713/0.006645, allocations: 235.6 kB / 0.7894 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.006754, allocations: 63.83 kB / 0.7895 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.292e-05/0.006807, allocations: 27.88 kB / 0.7895 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.0073, allocations: 307.1 kB / 0.7898 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.007303, allocations: 0.5625 kB / 0.7898 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.332e-06/0.007305, allocations: 0.5938 kB / 0.7898 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.00731, allocations: 0 / 0.7898 GB, free: 9.285 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.0007903/0.0081, allocations: 0.5355 MB / 0.7903 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.008134, allocations: 8.031 kB / 0.7904 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/0.008199, allocations: 28.8 kB / 0.7904 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.008451, allocations: 180.8 kB / 0.7906 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.008464, allocations: 1.188 kB / 0.7906 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.008476, allocations: 4.375 kB / 0.7906 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.008624, allocations: 47.36 kB / 0.7906 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.008633, allocations: 192 / 0.7906 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.00864, allocations: 384 / 0.7906 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.008648, allocations: 5.375 kB / 0.7906 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.008763, allocations: 23.98 kB / 0.7906 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.009307, allocations: 349.3 kB / 0.791 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.009431, allocations: 42.98 kB / 0.791 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.22e-05/0.009494, allocations: 15.75 kB / 0.791 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.731e-05/0.009551, allocations: 20.67 kB / 0.791 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.009589, allocations: 37.33 kB / 0.7911 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.00959, allocations: 1.906 kB / 0.7911 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0003298/0.009919, allocations: 89.47 kB / 0.7912 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.009965, allocations: 51.41 kB / 0.7912 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003946/0.01036, allocations: 358.9 kB / 0.7916 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.01038, allocations: 29.7 kB / 0.7916 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.01054, allocations: 195.5 kB / 0.7918 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.01055, allocations: 3.953 kB / 0.7918 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/0.01061, allocations: 36.58 kB / 0.7918 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004211/0.01103, allocations: 0.5157 MB / 0.7923 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.07e-05/0.01111, allocations: 20 kB / 0.7923 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.707e-05/0.01118, allocations: 32.52 kB / 0.7924 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.01133, allocations: 71.75 kB / 0.7924 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01133, allocations: 0 / 0.7924 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002251/0.01156, allocations: 118.4 kB / 0.7925 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.01158, allocations: 7.938 kB / 0.7926 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01158, allocations: 0.5312 kB / 0.7926 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.0116, allocations: 1.094 kB / 0.7926 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.192e-05/0.01169, allocations: 15.92 kB / 0.7926 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.01169, allocations: 0 / 0.7926 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.154e-05/0.01174, allocations: 12.55 kB / 0.7926 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.01175, allocations: 0 / 0.7926 GB, free: 6.273 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.0001206/0.01187, allocations: 157.7 kB / 0.7927 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.01193, allocations: 27.8 kB / 0.7928 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/0.01212, allocations: 71.81 kB / 0.7928 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01213, allocations: 0 / 0.7928 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.01213, allocations: 4.844 kB / 0.7928 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.01213, allocations: 3.938 kB / 0.7928 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.01238, allocations: 194.8 kB / 0.793 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.01238, allocations: 0 / 0.793 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.01242, allocations: 4 kB / 0.793 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.01243, allocations: 0 / 0.793 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.01243, allocations: 3.938 kB / 0.793 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.01244, allocations: 0 / 0.793 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01244, allocations: 2.781 kB / 0.793 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.01271, allocations: 219.8 kB / 0.7932 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.01278, allocations: 23.86 kB / 0.7933 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.0128, allocations: 3.938 kB / 0.7933 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.33e-05/0.01287, allocations: 7.984 kB / 0.7933 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.01291, allocations: 4 kB / 0.7933 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.01291, allocations: 1.562 kB / 0.7933 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002364/0.01315, allocations: 235 kB / 0.7935 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01315, allocations: 0 / 0.7935 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003442/0.01349, allocations: 75.8 kB / 0.7936 GB, free: 5.191 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.0003378/0.01383, allocations: 168.2 kB / 0.7937 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.01406, allocations: 52.22 kB / 0.7938 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01406, allocations: 1.375 kB / 0.7938 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.357e-05/0.01413, allocations: 19.69 kB / 0.7938 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.01443, allocations: 13.75 kB / 0.7938 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005985/0.01502, allocations: 328.4 kB / 0.7941 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.01517, allocations: 123.2 kB / 0.7943 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.277e-05/0.01521, allocations: 16.48 kB / 0.7943 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.01525, allocations: 12.5 kB / 0.7943 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.01525, allocations: 0 / 0.7943 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of Templates: time 0.006251/0.0215, allocations: 2.156 MB / 0.7964 GB, free: 2.289 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","/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.865168837015517]