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.001073/0.001073, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001638/0.001638, allocations: 169 kB / 24.28 MB, free: 276 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.9522/0.9522, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.81/1.81, allocations: 359 MB / 0.6055 GB, free: 11.03 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.683e-06/1.683e-06, allocations: 0 / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.156e-05/3.324e-05, allocations: 10.56 kB / 0.7872 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002572/0.002605, allocations: 1.547 MB / 0.7887 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.00382, allocations: 0.7348 MB / 0.7894 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/0.003877, allocations: 4 kB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.004097, allocations: 129.3 kB / 0.7895 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.042e-05/0.004188, allocations: 73.53 kB / 0.7896 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007059/0.004894, allocations: 190.1 kB / 0.7898 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.005042, allocations: 67.8 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.603e-05/0.005088, allocations: 4 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.664e-05/0.005155, allocations: 39.94 kB / 0.7899 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.00527, allocations: 89.36 kB / 0.79 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.005287, allocations: 4 kB / 0.79 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.005683, allocations: 239.5 kB / 0.7902 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.005785, allocations: 63.83 kB / 0.7902 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.474e-05/0.00583, allocations: 28.47 kB / 0.7903 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.006218, allocations: 315.5 kB / 0.7906 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.006222, allocations: 0 / 0.7906 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.423e-06/0.006223, allocations: 1.625 kB / 0.7906 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.00623, allocations: 0 / 0.7906 GB, free: 9.254 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.0008139/0.007044, allocations: 0.5264 MB / 0.7911 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.007086, allocations: 8.031 kB / 0.7911 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.469e-05/0.00714, allocations: 25.38 kB / 0.7911 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.007317, allocations: 181.5 kB / 0.7913 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.00733, allocations: 384 / 0.7913 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.00734, allocations: 1.094 kB / 0.7913 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.007478, allocations: 54.95 kB / 0.7914 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.007486, allocations: 1.25 kB / 0.7914 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.007495, allocations: 384 / 0.7914 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.007506, allocations: 11.94 kB / 0.7914 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.351e-05/0.007539, allocations: 9.297 kB / 0.7914 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.007961, allocations: 347.7 kB / 0.7917 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.383e-05/0.008025, allocations: 32.89 kB / 0.7917 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.476e-05/0.00805, allocations: 11.75 kB / 0.7917 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.239e-05/0.008102, allocations: 15.98 kB / 0.7918 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.008129, allocations: 41.33 kB / 0.7918 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.008131, allocations: 0 / 0.7918 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001852/0.008316, allocations: 66.98 kB / 0.7919 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.008349, allocations: 51.41 kB / 0.7919 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.008596, allocations: 358.3 kB / 0.7923 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.008607, allocations: 27.95 kB / 0.7923 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.008716, allocations: 190.8 kB / 0.7925 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.00873, allocations: 7.891 kB / 0.7925 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.008775, allocations: 39.36 kB / 0.7925 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.008907, allocations: 0.5118 MB / 0.793 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.273e-05/0.008939, allocations: 16 kB / 0.793 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.469e-05/0.008964, allocations: 20.48 kB / 0.793 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.308e-05/0.009027, allocations: 66.78 kB / 0.7931 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.009029, allocations: 0.5312 kB / 0.7931 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001245/0.009153, allocations: 107.5 kB / 0.7932 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.009168, allocations: 7.938 kB / 0.7932 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.009176, allocations: 0 / 0.7932 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.00919, allocations: 0 / 0.7932 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.851e-05/0.009269, allocations: 4 kB / 0.7932 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.009275, allocations: 6.562 kB / 0.7932 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.337e-05/0.009308, allocations: 11.89 kB / 0.7932 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.009315, allocations: 3.984 kB / 0.7932 GB, free: 6.332 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 8.073e-05/0.009396, allocations: 152.6 kB / 0.7934 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.009425, allocations: 23.8 kB / 0.7934 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.009535, allocations: 62.72 kB / 0.7935 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.009538, allocations: 0.5312 kB / 0.7935 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.009542, allocations: 0.7188 kB / 0.7935 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.009547, allocations: 3.984 kB / 0.7935 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.009709, allocations: 193.6 kB / 0.7937 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.009711, allocations: 0 / 0.7937 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/0.009748, allocations: 7.984 kB / 0.7937 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.00975, allocations: 4.656 kB / 0.7937 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.009757, allocations: 4.938 kB / 0.7937 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.009758, allocations: 0 / 0.7937 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.00976, allocations: 0 / 0.7937 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.009891, allocations: 204.6 kB / 0.7939 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.009926, allocations: 27.84 kB / 0.7939 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.009945, allocations: 9.5 kB / 0.7939 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.131e-05/0.009986, allocations: 4 kB / 0.7939 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.01002, allocations: 3.984 kB / 0.7939 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.01003, allocations: 0 / 0.7939 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001365/0.01016, allocations: 232 kB / 0.7941 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01016, allocations: 0 / 0.7941 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002981/0.01046, allocations: 77.95 kB / 0.7942 GB, free: 5.277 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.0002943/0.01076, allocations: 171 kB / 0.7944 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.01088, allocations: 35.69 kB / 0.7944 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01088, allocations: 0 / 0.7944 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.262e-05/0.0109, allocations: 20.7 kB / 0.7944 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.01113, allocations: 8.656 kB / 0.7944 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006958/0.01183, allocations: 323.1 kB / 0.7947 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.52e-05/0.01188, allocations: 83.3 kB / 0.7948 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.022e-05/0.01191, allocations: 9.594 kB / 0.7948 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.01195, allocations: 20.48 kB / 0.7949 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of SimCode: time 1.052e-06/0.01195, allocations: 1.094 kB / 0.7949 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of Templates: time 0.005317/0.01727, allocations: 2.175 MB / 0.797 GB, free: 2.418 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: 5.288779472000897]