Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001022/0.001022, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001146/0.001146, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.9274/0.9274, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.76/1.76, allocations: 377.8 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 0.9822 GB, free: 2.031 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3.044e-05, allocations: 5.094 kB / 0.9823 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.00278/0.00281, allocations: 1.514 MB / 0.9837 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.004042, allocations: 0.7127 MB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.174e-05/0.004084, allocations: 0 / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.004315, allocations: 131.7 kB / 0.9846 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.004416, allocations: 75.7 kB / 0.9846 GB, free: 15.58 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006732/0.005089, allocations: 183.5 kB / 0.9848 GB, free: 15.4 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.005213, allocations: 71.8 kB / 0.9849 GB, free: 15.33 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.005249, allocations: 4 kB / 0.9849 GB, free: 15.33 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.912e-05/0.005318, allocations: 39.89 kB / 0.9849 GB, free: 15.29 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.00544, allocations: 83.89 kB / 0.985 GB, free: 15.21 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.005456, allocations: 4 kB / 0.985 GB, free: 15.2 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/0.005794, allocations: 239.6 kB / 0.9852 GB, free: 14.97 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.005876, allocations: 71.81 kB / 0.9853 GB, free: 14.9 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.00591, allocations: 23.88 kB / 0.9853 GB, free: 14.88 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.006202, allocations: 311.1 kB / 0.9856 GB, free: 14.57 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.006205, allocations: 0 / 0.9856 GB, free: 14.57 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.463e-06/0.006207, allocations: 4 kB / 0.9856 GB, free: 14.57 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.006211, allocations: 4 kB / 0.9856 GB, free: 14.56 MB / 0.948 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.000424/0.006635, allocations: 444.7 kB / 0.986 GB, free: 14.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.006667, allocations: 8.031 kB / 0.986 GB, free: 14.09 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.006706, allocations: 28.75 kB / 0.9861 GB, free: 14.06 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.006863, allocations: 202 kB / 0.9863 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.006873, allocations: 4.375 kB / 0.9863 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.006882, allocations: 4.375 kB / 0.9863 GB, free: 13.83 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.006997, allocations: 74.16 kB / 0.9863 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.007003, allocations: 4.188 kB / 0.9864 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.007011, allocations: 4.375 kB / 0.9864 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.007015, allocations: 3.938 kB / 0.9864 GB, free: 13.74 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.007128, allocations: 87.86 kB / 0.9864 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.007461, allocations: 336.4 kB / 0.9868 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.007564, allocations: 90.52 kB / 0.9869 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.005e-05/0.007624, allocations: 52.89 kB / 0.9869 GB, free: 13.14 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/0.00766, allocations: 19.98 kB / 0.9869 GB, free: 13.12 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.007677, allocations: 34.5 kB / 0.987 GB, free: 13.08 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.007678, allocations: 0 / 0.987 GB, free: 13.08 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002452/0.007923, allocations: 177.4 kB / 0.9871 GB, free: 12.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.007952, allocations: 55.41 kB / 0.9872 GB, free: 12.84 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.00819, allocations: 360.4 kB / 0.9875 GB, free: 12.48 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.008201, allocations: 25.83 kB / 0.9875 GB, free: 12.45 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.75e-05/0.008268, allocations: 144 kB / 0.9877 GB, free: 12.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.168e-05/0.00828, allocations: 7.953 kB / 0.9877 GB, free: 12.29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.00831, allocations: 29.7 kB / 0.9877 GB, free: 12.26 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.008396, allocations: 330.8 kB / 0.988 GB, free: 11.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.115e-05/0.008487, allocations: 95.94 kB / 0.9881 GB, free: 11.83 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.633e-05/0.008564, allocations: 95.94 kB / 0.9882 GB, free: 11.74 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.008729, allocations: 215 kB / 0.9884 GB, free: 11.53 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.00873, allocations: 4 kB / 0.9884 GB, free: 11.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002003/0.008931, allocations: 253.4 kB / 0.9887 GB, free: 11.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.008941, allocations: 7.938 kB / 0.9887 GB, free: 11.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.008947, allocations: 0 / 0.9887 GB, free: 11.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.008958, allocations: 0 / 0.9887 GB, free: 11.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.293e-05/0.00901, allocations: 11.98 kB / 0.9887 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.009014, allocations: 0 / 0.9887 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.281e-05/0.009047, allocations: 15.89 kB / 0.9887 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.009052, allocations: 8 kB / 0.9887 GB, free: 11.23 MB / 0.948 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 7.763e-05/0.00913, allocations: 141.8 kB / 0.9888 GB, free: 11.08 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.009152, allocations: 23.8 kB / 0.9889 GB, free: 11.05 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.009312, allocations: 142.6 kB / 0.989 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.009314, allocations: 0 / 0.989 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.009318, allocations: 0 / 0.989 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.00932, allocations: 3.938 kB / 0.989 GB, free: 10.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.009453, allocations: 185.3 kB / 0.9892 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.009454, allocations: 4.031 kB / 0.9892 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.44e-05/0.009478, allocations: 15.98 kB / 0.9892 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.00948, allocations: 0 / 0.9892 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.009486, allocations: 3.938 kB / 0.9892 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.009487, allocations: 0 / 0.9892 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.009488, allocations: 0 / 0.9892 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.00964, allocations: 235.3 kB / 0.9894 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.748e-05/0.009668, allocations: 27.84 kB / 0.9895 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.009681, allocations: 7.969 kB / 0.9895 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.964e-05/0.00972, allocations: 7.938 kB / 0.9895 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.009752, allocations: 7.984 kB / 0.9895 GB, free: 10.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.009754, allocations: 0 / 0.9895 GB, free: 10.37 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000152/0.009906, allocations: 251 kB / 0.9897 GB, free: 10.13 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.009907, allocations: 0 / 0.9897 GB, free: 10.13 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002349/0.01014, allocations: 71.86 kB / 0.9898 GB, free: 10.06 MB / 0.948 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.0002158/0.01036, allocations: 163.7 kB / 0.9899 GB, free: 9.891 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001848/0.01054, allocations: 151.9 kB / 0.9901 GB, free: 9.742 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-06/0.01054, allocations: 0 / 0.9901 GB, free: 9.742 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.38e-05/0.0106, allocations: 43.91 kB / 0.9901 GB, free: 9.699 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.01083, allocations: 17.58 kB / 0.9901 GB, free: 9.684 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.01125, allocations: 408.2 kB / 0.9905 GB, free: 9.254 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.571e-05/0.01133, allocations: 133.5 kB / 0.9907 GB, free: 9.105 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.01136, allocations: 12.5 kB / 0.9907 GB, free: 9.09 MB / 0.948 GB Notification: Performance of SimCode: time 3.9e-07/0.01136, allocations: 0 / 0.9907 GB, free: 9.09 MB / 0.948 GB Notification: Performance of Templates: time 0.002864/0.01422, allocations: 2.487 MB / 0.9931 GB, free: 6.617 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.083160849288106]