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.0009621/0.0009621, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001128/0.001128, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9609/0.9609, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.728/1.728, allocations: 359 MB / 0.6052 GB, free: 11.01 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.994e-06/1.994e-06, allocations: 0 / 0.7871 GB, free: 11.37 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.622e-05/3.821e-05, allocations: 4.844 kB / 0.7871 GB, free: 11.37 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.001958/0.001996, allocations: 1.53 MB / 0.7886 GB, free: 9.844 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.00303, allocations: 0.7746 MB / 0.7893 GB, free: 9.066 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.862e-05/0.003069, allocations: 0 / 0.7893 GB, free: 9.066 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.003279, allocations: 137.1 kB / 0.7895 GB, free: 8.934 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005471/0.003826, allocations: 190.4 kB / 0.7897 GB, free: 8.75 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.003941, allocations: 75.8 kB / 0.7897 GB, free: 8.676 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.299e-05/0.004034, allocations: 65.28 kB / 0.7898 GB, free: 8.613 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.038e-05/0.004114, allocations: 11.97 kB / 0.7898 GB, free: 8.602 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.277e-05/0.004167, allocations: 43.89 kB / 0.7898 GB, free: 8.559 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.25e-05/0.004259, allocations: 80.86 kB / 0.7899 GB, free: 8.48 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.004273, allocations: 7.938 kB / 0.7899 GB, free: 8.473 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.004558, allocations: 243.5 kB / 0.7902 GB, free: 8.234 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.004658, allocations: 112.5 kB / 0.7903 GB, free: 8.125 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.908e-05/0.004698, allocations: 35.8 kB / 0.7903 GB, free: 8.09 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.004995, allocations: 345.5 kB / 0.7906 GB, free: 7.754 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.004998, allocations: 0 / 0.7906 GB, free: 7.754 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.61e-07/0.004998, allocations: 0 / 0.7906 GB, free: 7.754 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.005003, allocations: 0 / 0.7906 GB, free: 7.754 MB / 0.698 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.0005131/0.005516, allocations: 0.5998 MB / 0.7912 GB, free: 7.117 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.005552, allocations: 8.031 kB / 0.7912 GB, free: 7.109 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.005605, allocations: 38.45 kB / 0.7913 GB, free: 7.074 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.005781, allocations: 242.9 kB / 0.7915 GB, free: 6.812 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.005791, allocations: 384 / 0.7915 GB, free: 6.812 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.005799, allocations: 4.375 kB / 0.7915 GB, free: 6.809 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.005911, allocations: 58.94 kB / 0.7916 GB, free: 6.742 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.005922, allocations: 4.719 kB / 0.7916 GB, free: 6.738 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.00593, allocations: 0.9062 kB / 0.7916 GB, free: 6.738 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.005937, allocations: 3.938 kB / 0.7916 GB, free: 6.734 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.005963, allocations: 5.125 kB / 0.7916 GB, free: 6.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.00629, allocations: 363.8 kB / 0.7919 GB, free: 6.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.447e-05/0.006345, allocations: 27.84 kB / 0.7919 GB, free: 6.301 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.006364, allocations: 15.75 kB / 0.792 GB, free: 6.281 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.369e-05/0.006408, allocations: 21.14 kB / 0.792 GB, free: 6.262 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.006428, allocations: 45.2 kB / 0.792 GB, free: 6.207 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.006428, allocations: 0 / 0.792 GB, free: 6.207 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001525/0.006581, allocations: 70.88 kB / 0.7921 GB, free: 6.133 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.006608, allocations: 55.41 kB / 0.7921 GB, free: 6.066 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.006883, allocations: 462.7 kB / 0.7926 GB, free: 5.594 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.006892, allocations: 27.45 kB / 0.7926 GB, free: 5.562 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.901e-05/0.006981, allocations: 218.8 kB / 0.7928 GB, free: 5.344 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.006996, allocations: 11.88 kB / 0.7928 GB, free: 5.332 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.007037, allocations: 43.38 kB / 0.7929 GB, free: 5.281 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.007146, allocations: 0.5249 MB / 0.7934 GB, free: 4.746 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.574e-05/0.007171, allocations: 16 kB / 0.7934 GB, free: 4.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.686e-05/0.007198, allocations: 27.92 kB / 0.7934 GB, free: 4.703 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.214e-05/0.00725, allocations: 47.06 kB / 0.7935 GB, free: 4.656 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.007252, allocations: 0.5312 kB / 0.7935 GB, free: 4.656 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001156/0.007368, allocations: 131.4 kB / 0.7936 GB, free: 4.523 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.007381, allocations: 7.938 kB / 0.7936 GB, free: 4.516 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.007385, allocations: 0 / 0.7936 GB, free: 4.516 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.007397, allocations: 4 kB / 0.7936 GB, free: 4.512 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.727e-05/0.007494, allocations: 31.92 kB / 0.7936 GB, free: 4.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.007499, allocations: 2.594 kB / 0.7936 GB, free: 4.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/0.007528, allocations: 7.953 kB / 0.7937 GB, free: 4.473 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.007534, allocations: 0 / 0.7937 GB, free: 4.473 MB / 0.698 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 6.589e-05/0.0076, allocations: 160.6 kB / 0.7938 GB, free: 4.305 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.007626, allocations: 31.75 kB / 0.7938 GB, free: 4.273 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.915e-05/0.007715, allocations: 67.88 kB / 0.7939 GB, free: 4.199 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.007716, allocations: 0.5312 kB / 0.7939 GB, free: 4.199 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.007719, allocations: 0.7188 kB / 0.7939 GB, free: 4.199 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.007722, allocations: 4 kB / 0.7939 GB, free: 4.195 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.007866, allocations: 217.1 kB / 0.7941 GB, free: 3.949 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007867, allocations: 1.656 kB / 0.7941 GB, free: 3.949 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/0.007892, allocations: 7.984 kB / 0.7941 GB, free: 3.941 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.007893, allocations: 0 / 0.7941 GB, free: 3.941 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.007899, allocations: 3.938 kB / 0.7941 GB, free: 3.938 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.0079, allocations: 0 / 0.7941 GB, free: 3.938 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.0079, allocations: 0.5 kB / 0.7941 GB, free: 3.938 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.104e-05/0.007991, allocations: 216.3 kB / 0.7943 GB, free: 3.707 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.008024, allocations: 36.66 kB / 0.7944 GB, free: 3.672 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.008041, allocations: 11.91 kB / 0.7944 GB, free: 3.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.89e-05/0.00808, allocations: 8.781 kB / 0.7944 GB, free: 3.652 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.008112, allocations: 3.938 kB / 0.7944 GB, free: 3.648 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.008114, allocations: 1.25 kB / 0.7944 GB, free: 3.648 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001603/0.008274, allocations: 303.1 kB / 0.7947 GB, free: 3.355 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.008274, allocations: 0 / 0.7947 GB, free: 3.355 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002039/0.008478, allocations: 79.86 kB / 0.7948 GB, free: 3.277 MB / 0.698 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.0001886/0.008667, allocations: 164 kB / 0.7949 GB, free: 3.109 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.008773, allocations: 56.92 kB / 0.795 GB, free: 3.051 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.008774, allocations: 0 / 0.795 GB, free: 3.051 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.737e-05/0.008792, allocations: 16.84 kB / 0.795 GB, free: 3.031 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.00899, allocations: 25.39 kB / 0.795 GB, free: 3.008 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004478/0.009438, allocations: 451.9 kB / 0.7954 GB, free: 2.539 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.908e-05/0.009497, allocations: 99.94 kB / 0.7955 GB, free: 2.422 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.054e-05/0.009527, allocations: 27.11 kB / 0.7956 GB, free: 2.395 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.00956, allocations: 21.88 kB / 0.7956 GB, free: 2.375 MB / 0.698 GB Notification: Performance of SimCode: time 5.82e-07/0.009561, allocations: 0 / 0.7956 GB, free: 2.375 MB / 0.698 GB Notification: Performance of Templates: time 0.00484/0.0144, allocations: 3.124 MB / 0.7986 GB, free: 15.29 MB / 0.7136 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: 4.673225833568722]