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.0009243/0.0009243, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009753/0.0009753, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9102/0.9102, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.752/1.752, allocations: 359 MB / 0.6055 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.503e-06/1.503e-06, allocations: 0 / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.911e-05, allocations: 6.312 kB / 0.7876 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.001983/0.002002, allocations: 1.55 MB / 0.7891 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009362/0.002939, allocations: 0.728 MB / 0.7898 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.002979, allocations: 0 / 0.7898 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.003174, allocations: 136.7 kB / 0.79 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.543e-05/0.00325, allocations: 65.88 kB / 0.79 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.003694, allocations: 192.5 kB / 0.7902 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.18e-05/0.003775, allocations: 64.88 kB / 0.7903 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.012e-05/0.003805, allocations: 3.984 kB / 0.7903 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.909e-05/0.003885, allocations: 51.88 kB / 0.7903 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.725e-05/0.003972, allocations: 81.11 kB / 0.7904 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.003983, allocations: 0 / 0.7904 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002708/0.004254, allocations: 243.5 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.031e-05/0.004324, allocations: 64.55 kB / 0.7907 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.004349, allocations: 23.88 kB / 0.7907 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.004615, allocations: 304.8 kB / 0.791 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.004618, allocations: 4 kB / 0.791 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.91e-07/0.004618, allocations: 0 / 0.791 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.004622, allocations: 0 / 0.791 GB, free: 8.633 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.000481/0.005103, allocations: 0.5275 MB / 0.7915 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.005143, allocations: 8.031 kB / 0.7915 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.005179, allocations: 24.8 kB / 0.7916 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.005329, allocations: 186.3 kB / 0.7917 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.005338, allocations: 384 / 0.7917 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.005345, allocations: 384 / 0.7917 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.695e-05/0.005442, allocations: 50.95 kB / 0.7918 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.005449, allocations: 1.594 kB / 0.7918 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-06/0.005455, allocations: 384 / 0.7918 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.005462, allocations: 7.938 kB / 0.7918 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.514e-05/0.005477, allocations: 3.938 kB / 0.7918 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002336/0.005711, allocations: 291.2 kB / 0.7921 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.24e-05/0.005753, allocations: 27.06 kB / 0.7921 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.006086, allocations: 11.69 kB / 0.7921 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-05/0.006129, allocations: 24.03 kB / 0.7921 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.006149, allocations: 37.33 kB / 0.7922 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.00615, allocations: 0 / 0.7922 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001171/0.006267, allocations: 66.69 kB / 0.7922 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.006293, allocations: 51.41 kB / 0.7923 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.006472, allocations: 350.7 kB / 0.7926 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.006482, allocations: 25.7 kB / 0.7926 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.271e-05/0.006565, allocations: 200 kB / 0.7928 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.03e-05/0.006575, allocations: 3.953 kB / 0.7928 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.006609, allocations: 39.34 kB / 0.7929 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.00676, allocations: 0.5162 MB / 0.7934 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.00678, allocations: 13.38 kB / 0.7934 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.483e-05/0.006794, allocations: 12 kB / 0.7934 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.993e-05/0.006854, allocations: 62.27 kB / 0.7935 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.006856, allocations: 0 / 0.7935 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.073e-05/0.006947, allocations: 98.64 kB / 0.7936 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.006959, allocations: 4 kB / 0.7936 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.006965, allocations: 5.156 kB / 0.7936 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.006978, allocations: 4 kB / 0.7936 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.164e-05/0.007019, allocations: 0 / 0.7936 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.007023, allocations: 4 kB / 0.7936 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.993e-05/0.007043, allocations: 9.641 kB / 0.7936 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.007047, allocations: 0 / 0.7936 GB, free: 5.816 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.198e-05/0.007119, allocations: 156.6 kB / 0.7937 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.007142, allocations: 27.78 kB / 0.7938 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.138e-05/0.007223, allocations: 64.59 kB / 0.7938 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.007225, allocations: 0 / 0.7938 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.007227, allocations: 0 / 0.7938 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.007231, allocations: 4 kB / 0.7938 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.007339, allocations: 146 kB / 0.794 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.007339, allocations: 0 / 0.794 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.24e-05/0.007352, allocations: 7.438 kB / 0.794 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.007354, allocations: 0 / 0.794 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-06/0.007357, allocations: 0 / 0.794 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.007359, allocations: 3.984 kB / 0.794 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.00736, allocations: 3.938 kB / 0.794 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.338e-05/0.007444, allocations: 203.8 kB / 0.7942 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.007463, allocations: 19.84 kB / 0.7942 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.007477, allocations: 8 kB / 0.7942 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.896e-05/0.007506, allocations: 0 / 0.7942 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.007529, allocations: 4.562 kB / 0.7942 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.00753, allocations: 0.5 kB / 0.7942 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.395e-05/0.007624, allocations: 226.9 kB / 0.7944 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007624, allocations: 1.688 kB / 0.7944 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002228/0.007847, allocations: 67.89 kB / 0.7945 GB, free: 4.836 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.0002032/0.00805, allocations: 163.1 kB / 0.7946 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.537e-05/0.008136, allocations: 37.47 kB / 0.7947 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.008137, allocations: 4 kB / 0.7947 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.175e-05/0.008149, allocations: 11.62 kB / 0.7947 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.008325, allocations: 19 kB / 0.7947 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004938/0.008819, allocations: 325.8 kB / 0.795 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.483e-05/0.008874, allocations: 84.09 kB / 0.7951 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.464e-05/0.008908, allocations: 19 kB / 0.7951 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.645e-05/0.008965, allocations: 78.2 kB / 0.7952 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.008965, allocations: 0 / 0.7952 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of Templates: time 0.003839/0.0128, allocations: 2.281 MB / 0.7974 GB, free: 1.801 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.816007087007165]