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.001444/0.001444, allocations: 81.95 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.001814/0.001814, allocations: 166 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.9402/0.9402, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.768/1.768, allocations: 359 MB / 0.6063 GB, free: 10.89 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.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.132e-06/1.132e-06, allocations: 0 / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.536e-05, allocations: 2.312 kB / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.001802/0.001817, allocations: 1.557 MB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008707/0.002688, allocations: 0.73 MB / 0.7906 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/0.00272, allocations: 1.406 kB / 0.7906 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.002956, allocations: 124.8 kB / 0.7907 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.118e-05/0.003037, allocations: 80.75 kB / 0.7908 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.003468, allocations: 185.8 kB / 0.791 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.557e-05/0.003553, allocations: 63.81 kB / 0.791 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.286e-05/0.003586, allocations: 7.984 kB / 0.791 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.05e-05/0.003657, allocations: 41.48 kB / 0.7911 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.28e-05/0.00375, allocations: 83.89 kB / 0.7912 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.003761, allocations: 0 / 0.7912 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000258/0.004019, allocations: 243.5 kB / 0.7914 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.665e-05/0.004085, allocations: 65.12 kB / 0.7915 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.004114, allocations: 31.84 kB / 0.7915 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.004385, allocations: 295.2 kB / 0.7918 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.004387, allocations: 2.906 kB / 0.7918 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004388, allocations: 3.938 kB / 0.7918 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.004392, allocations: 0 / 0.7918 GB, free: 8.66 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.0004396/0.004831, allocations: 0.5225 MB / 0.7923 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.004862, allocations: 12.03 kB / 0.7923 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.004894, allocations: 20.8 kB / 0.7923 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.005173, allocations: 188.8 kB / 0.7925 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-06/0.00518, allocations: 384 / 0.7925 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-06/0.005187, allocations: 5.094 kB / 0.7925 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.092e-05/0.005268, allocations: 42.97 kB / 0.7925 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.005275, allocations: 5.828 kB / 0.7925 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.005281, allocations: 384 / 0.7925 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.005286, allocations: 3.938 kB / 0.7926 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.924e-05/0.005305, allocations: 4 kB / 0.7926 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002464/0.005552, allocations: 289.4 kB / 0.7928 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.833e-05/0.0056, allocations: 27.06 kB / 0.7929 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.533e-05/0.005615, allocations: 12.92 kB / 0.7929 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.005652, allocations: 19.98 kB / 0.7929 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.00568, allocations: 33.39 kB / 0.7929 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.005681, allocations: 5.688 kB / 0.7929 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001234/0.005805, allocations: 69.39 kB / 0.793 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.005835, allocations: 51.41 kB / 0.793 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.006022, allocations: 351.4 kB / 0.7934 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.006032, allocations: 25.7 kB / 0.7934 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.303e-05/0.006115, allocations: 202.7 kB / 0.7936 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.109e-05/0.006126, allocations: 8.469 kB / 0.7936 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.006159, allocations: 35.34 kB / 0.7936 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.006296, allocations: 0.5173 MB / 0.7941 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.006315, allocations: 12 kB / 0.7942 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.558e-05/0.00633, allocations: 12 kB / 0.7942 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.702e-05/0.006377, allocations: 51.83 kB / 0.7942 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.006379, allocations: 0 / 0.7942 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.57e-05/0.006475, allocations: 97.52 kB / 0.7943 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.006487, allocations: 8 kB / 0.7943 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.006493, allocations: 7.922 kB / 0.7943 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.584e-06/0.006501, allocations: 0.8438 kB / 0.7943 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.15e-05/0.006543, allocations: 4 kB / 0.7943 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.006546, allocations: 4.516 kB / 0.7943 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/0.006569, allocations: 12.61 kB / 0.7943 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.006574, allocations: 7.984 kB / 0.7943 GB, free: 5.836 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 7.903e-05/0.006653, allocations: 153.1 kB / 0.7945 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.006677, allocations: 21.17 kB / 0.7945 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.399e-05/0.006751, allocations: 62.66 kB / 0.7946 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.006753, allocations: 8.516 kB / 0.7946 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.006755, allocations: 0 / 0.7946 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.006758, allocations: 1.375 kB / 0.7946 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.006876, allocations: 141.2 kB / 0.7947 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.006878, allocations: 3.984 kB / 0.7947 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.492e-05/0.006893, allocations: 4 kB / 0.7947 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.006894, allocations: 0.8125 kB / 0.7947 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.0069, allocations: 4 kB / 0.7947 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.0069, allocations: 0.9375 kB / 0.7947 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.006903, allocations: 3.938 kB / 0.7947 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.229e-05/0.006985, allocations: 209.1 kB / 0.7949 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.007005, allocations: 19.86 kB / 0.795 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.007016, allocations: 3.938 kB / 0.795 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.964e-05/0.007045, allocations: 0.8438 kB / 0.795 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.007073, allocations: 11.92 kB / 0.795 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.007075, allocations: 2 kB / 0.795 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.949e-05/0.007174, allocations: 222.9 kB / 0.7952 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007174, allocations: 0 / 0.7952 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002104/0.007385, allocations: 67.88 kB / 0.7952 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.0001855/0.00757, allocations: 163.8 kB / 0.7954 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.037e-05/0.007651, allocations: 39.12 kB / 0.7954 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.007652, allocations: 0 / 0.7954 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.566e-05/0.007667, allocations: 19.61 kB / 0.7955 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.007839, allocations: 8.656 kB / 0.7955 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.008311, allocations: 333.4 kB / 0.7958 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.008632, allocations: 84.23 kB / 0.7959 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.922e-05/0.008661, allocations: 9.844 kB / 0.7959 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.008709, allocations: 82.69 kB / 0.796 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.00871, allocations: 0.5938 kB / 0.796 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of Templates: time 0.003618/0.01233, allocations: 2.302 MB / 0.7982 GB, free: 1.812 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.844250223599374]