Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.002316/0.002316, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002771/0.002771, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.55/1.55, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.951/2.951, 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.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.72e-05, allocations: 2.969 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002852/0.002879, allocations: 1.494 MB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.004434, allocations: 0.7825 MB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.779e-05/0.004471, allocations: 0 / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.004755, allocations: 129.7 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005926/0.005348, allocations: 197.5 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.005543, allocations: 68.7 kB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.00566, allocations: 71.8 kB / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.975e-05/0.00573, allocations: 4.656 kB / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.339e-05/0.005814, allocations: 43.88 kB / 0.7891 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.005965, allocations: 97.47 kB / 0.7892 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.005983, allocations: 3.938 kB / 0.7892 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004896/0.006472, allocations: 239.6 kB / 0.7894 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.006624, allocations: 103.7 kB / 0.7895 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.846e-05/0.006692, allocations: 41.14 kB / 0.7896 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005294/0.007222, allocations: 355 kB / 0.7899 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.007224, allocations: 0 / 0.7899 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.52e-07/0.007225, allocations: 0 / 0.7899 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.00723, allocations: 1.594 kB / 0.7899 GB, free: 9.207 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.0009027/0.008133, allocations: 0.5998 MB / 0.7905 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.008168, allocations: 8.031 kB / 0.7905 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.295e-05/0.00824, allocations: 32.7 kB / 0.7905 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.008623, allocations: 251.7 kB / 0.7908 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.008638, allocations: 4.375 kB / 0.7908 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.008646, allocations: 3.781 kB / 0.7908 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.00879, allocations: 42.25 kB / 0.7908 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.008799, allocations: 192 / 0.7908 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.008812, allocations: 8.359 kB / 0.7908 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.008819, allocations: 3.938 kB / 0.7908 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.008935, allocations: 19.97 kB / 0.7908 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005887/0.009524, allocations: 375.8 kB / 0.7912 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.009646, allocations: 47.64 kB / 0.7912 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.33e-05/0.009719, allocations: 24.27 kB / 0.7913 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.246e-05/0.009772, allocations: 19.98 kB / 0.7913 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.009815, allocations: 42.27 kB / 0.7913 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.009816, allocations: 0 / 0.7913 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0003227/0.01014, allocations: 98.66 kB / 0.7914 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.01019, allocations: 51.41 kB / 0.7915 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005627/0.01076, allocations: 480.1 kB / 0.7919 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.01078, allocations: 25.7 kB / 0.792 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.01108, allocations: 226.8 kB / 0.7922 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.0111, allocations: 9.047 kB / 0.7922 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.0112, allocations: 51.36 kB / 0.7922 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003041/0.0115, allocations: 0.5313 MB / 0.7928 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.875e-05/0.01159, allocations: 24.83 kB / 0.7928 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.703e-05/0.01167, allocations: 27.98 kB / 0.7928 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.01182, allocations: 60.2 kB / 0.7929 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01183, allocations: 1.438 kB / 0.7929 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002773/0.0121, allocations: 149.3 kB / 0.793 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.01213, allocations: 7.938 kB / 0.793 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.01213, allocations: 0.5 kB / 0.793 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.01214, allocations: 3.438 kB / 0.793 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.01227, allocations: 23.98 kB / 0.793 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.01228, allocations: 4 kB / 0.793 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.845e-05/0.01234, allocations: 7.984 kB / 0.793 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.01235, allocations: 4 kB / 0.7931 GB, free: 5.793 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 (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.0001267/0.01248, allocations: 164.5 kB / 0.7932 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.01254, allocations: 31.75 kB / 0.7932 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.01275, allocations: 80.77 kB / 0.7933 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01275, allocations: 0 / 0.7933 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.01275, allocations: 4.5 kB / 0.7933 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.01275, allocations: 0 / 0.7933 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.01305, allocations: 229.1 kB / 0.7935 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.01305, allocations: 0.5625 kB / 0.7935 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.01309, allocations: 4 kB / 0.7935 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01309, allocations: 1.344 kB / 0.7935 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.01311, allocations: 7.938 kB / 0.7936 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01311, allocations: 3.938 kB / 0.7936 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01311, allocations: 0.5938 kB / 0.7936 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.01339, allocations: 237.2 kB / 0.7938 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.0135, allocations: 39.75 kB / 0.7938 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.01352, allocations: 3.938 kB / 0.7938 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.0136, allocations: 1.094 kB / 0.7938 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.01364, allocations: 7.984 kB / 0.7938 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.01364, allocations: 0 / 0.7938 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003518/0.01399, allocations: 311.6 kB / 0.7941 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.01e-07/0.014, allocations: 0 / 0.7941 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003526/0.01435, allocations: 80.69 kB / 0.7942 GB, free: 4.547 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.000316/0.01466, allocations: 160.1 kB / 0.7944 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.0149, allocations: 75.23 kB / 0.7944 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.0149, allocations: 0 / 0.7944 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.236e-05/0.01498, allocations: 19.67 kB / 0.7944 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.01528, allocations: 22.47 kB / 0.7945 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007501/0.01603, allocations: 459.7 kB / 0.7949 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.01623, allocations: 162.5 kB / 0.7951 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.048e-05/0.01628, allocations: 25.94 kB / 0.7951 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.01633, allocations: 20.5 kB / 0.7951 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.01633, allocations: 0 / 0.7951 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of Templates: time 0.007738/0.02407, allocations: 2.885 MB / 0.7979 GB, free: 0.7227 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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.062036292045377]