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.001636/0.001636, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001239/0.001239, allocations: 167.9 kB / 24.87 MB, free: 9.258 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.9958/0.9958, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.754/1.754, allocations: 359 MB / 0.6063 GB, free: 10.9 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.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.392e-06/1.392e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.783e-05, allocations: 7.562 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002252/0.002279, allocations: 1.511 MB / 0.7898 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.003777, allocations: 0.7818 MB / 0.7906 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.003828, allocations: 0.5625 kB / 0.7906 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.004066, allocations: 137.7 kB / 0.7907 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005037/0.004569, allocations: 181.5 kB / 0.7909 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.004713, allocations: 76.83 kB / 0.7909 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.00482, allocations: 63.86 kB / 0.791 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.033e-05/0.00491, allocations: 13.23 kB / 0.791 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.977e-05/0.00497, allocations: 47.81 kB / 0.7911 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.005083, allocations: 87.83 kB / 0.7911 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.005103, allocations: 5.438 kB / 0.7911 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004816/0.005584, allocations: 239.6 kB / 0.7914 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.005707, allocations: 107.7 kB / 0.7915 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.00575, allocations: 43.8 kB / 0.7915 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.006127, allocations: 332.2 kB / 0.7918 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.00613, allocations: 0 / 0.7918 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006132, allocations: 0 / 0.7918 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.006136, allocations: 1.594 kB / 0.7918 GB, free: 8.609 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.000537/0.006673, allocations: 0.5923 MB / 0.7924 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.006711, allocations: 8.031 kB / 0.7924 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.006756, allocations: 32.7 kB / 0.7924 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.006928, allocations: 240.1 kB / 0.7927 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.00694, allocations: 384 / 0.7927 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.006948, allocations: 4.375 kB / 0.7927 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.784e-05/0.007035, allocations: 57.91 kB / 0.7927 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.007041, allocations: 192 / 0.7927 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-06/0.007047, allocations: 384 / 0.7927 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.007052, allocations: 7.938 kB / 0.7927 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.791e-05/0.00707, allocations: 0 / 0.7927 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.007344, allocations: 304.4 kB / 0.793 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.778e-05/0.007392, allocations: 34.98 kB / 0.7931 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.399e-05/0.007406, allocations: 12.41 kB / 0.7931 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.039e-05/0.007446, allocations: 20.05 kB / 0.7931 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.007466, allocations: 35.05 kB / 0.7931 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.007467, allocations: 0 / 0.7931 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001294/0.007596, allocations: 77.34 kB / 0.7932 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.00763, allocations: 55.39 kB / 0.7933 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.007888, allocations: 447.6 kB / 0.7937 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.007899, allocations: 25.7 kB / 0.7937 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.566e-05/0.007995, allocations: 222.7 kB / 0.7939 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.008011, allocations: 17.69 kB / 0.7939 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.008055, allocations: 39.36 kB / 0.794 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.008199, allocations: 0.5313 MB / 0.7945 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.008223, allocations: 12 kB / 0.7945 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.292e-05/0.008246, allocations: 17.17 kB / 0.7945 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.483e-05/0.008301, allocations: 41.92 kB / 0.7946 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.008302, allocations: 0 / 0.7946 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001103/0.008413, allocations: 126.9 kB / 0.7947 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.008424, allocations: 8 kB / 0.7947 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.008428, allocations: 3.938 kB / 0.7947 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/0.008434, allocations: 0 / 0.7947 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.008516, allocations: 25.67 kB / 0.7947 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-06/0.008518, allocations: 0 / 0.7947 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.123e-05/0.008549, allocations: 12 kB / 0.7947 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.008555, allocations: 4 kB / 0.7947 GB, free: 5.445 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 7.146e-05/0.008626, allocations: 161.4 kB / 0.7949 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.008657, allocations: 31.8 kB / 0.7949 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.357e-05/0.00875, allocations: 72.34 kB / 0.795 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.008751, allocations: 0.6875 kB / 0.795 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.008754, allocations: 4 kB / 0.795 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.008756, allocations: 0.5312 kB / 0.795 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.00889, allocations: 161.2 kB / 0.7951 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.008892, allocations: 1.312 kB / 0.7952 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.008924, allocations: 8 kB / 0.7952 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.008926, allocations: 0 / 0.7952 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-06/0.00893, allocations: 0.5312 kB / 0.7952 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.008934, allocations: 5.359 kB / 0.7952 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.008936, allocations: 3.938 kB / 0.7952 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.00904, allocations: 211.7 kB / 0.7954 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.009072, allocations: 36.91 kB / 0.7954 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.009084, allocations: 0 / 0.7954 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.86e-05/0.009122, allocations: 4 kB / 0.7954 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.009145, allocations: 8.734 kB / 0.7954 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.009148, allocations: 0 / 0.7954 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001386/0.009286, allocations: 287 kB / 0.7957 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009286, allocations: 0.9375 kB / 0.7957 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002549/0.009541, allocations: 79.86 kB / 0.7958 GB, free: 4.34 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.0001979/0.009739, allocations: 164.4 kB / 0.7959 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.713e-05/0.009816, allocations: 47.59 kB / 0.796 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009818, allocations: 4.875 kB / 0.796 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.379e-05/0.009832, allocations: 7.688 kB / 0.796 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.01003, allocations: 24.23 kB / 0.796 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.01048, allocations: 466.2 kB / 0.7964 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.734e-05/0.01054, allocations: 103.9 kB / 0.7965 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.814e-05/0.01057, allocations: 22.62 kB / 0.7966 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.01064, allocations: 86.73 kB / 0.7967 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.01064, allocations: 0 / 0.7967 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of Templates: time 0.005143/0.01578, allocations: 3.187 MB / 0.7998 GB, free: 244 kB / 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.077682082075626]