Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009068/0.0009068, allocations: 87.58 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.0009111/0.0009111, allocations: 161 kB / 23.82 MB, free: 0.75 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.9718/0.9718, allocations: 177.1 MB / 204.2 MB, free: 5.25 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.955/1.955, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8116 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.482e-05, allocations: 3.312 kB / 0.8116 GB, free: 1.641 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002011/0.002036, allocations: 1.553 MB / 0.8131 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009707/0.003007, allocations: 0.7378 MB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.618e-05/0.003043, allocations: 5.625 kB / 0.8138 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.003251, allocations: 129.2 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.48e-05/0.003336, allocations: 72.41 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.003872, allocations: 186 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.34e-05/0.003966, allocations: 67.8 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.471e-05/0.004001, allocations: 4 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.452e-05/0.004055, allocations: 39.89 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.7e-05/0.004152, allocations: 84.42 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.004167, allocations: 4.719 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003113/0.004478, allocations: 247.5 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.307e-05/0.004562, allocations: 64.36 kB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.648e-05/0.004598, allocations: 29.52 kB / 0.8147 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.004906, allocations: 299.2 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004908, allocations: 0 / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004909, allocations: 0 / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.004914, allocations: 3.938 kB / 0.815 GB, free: 14.15 MB / 0.7761 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.0004931/0.005407, allocations: 0.5353 MB / 0.8155 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.005449, allocations: 8.031 kB / 0.8155 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.005495, allocations: 25.58 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.005644, allocations: 180.8 kB / 0.8157 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.005655, allocations: 5.469 kB / 0.8157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.005667, allocations: 4.375 kB / 0.8157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.005781, allocations: 54.95 kB / 0.8158 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.005792, allocations: 1.562 kB / 0.8158 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.0058, allocations: 384 / 0.8158 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.005809, allocations: 3.938 kB / 0.8158 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.676e-05/0.005836, allocations: 7.984 kB / 0.8158 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.006266, allocations: 345.4 kB / 0.8161 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.2e-05/0.006318, allocations: 31.06 kB / 0.8162 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.081e-05/0.006339, allocations: 11.67 kB / 0.8162 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.242e-05/0.006391, allocations: 18.27 kB / 0.8162 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.006412, allocations: 41.33 kB / 0.8162 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.006413, allocations: 0 / 0.8162 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001549/0.006567, allocations: 69.44 kB / 0.8163 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.006593, allocations: 51.41 kB / 0.8164 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.006808, allocations: 357.1 kB / 0.8167 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.006819, allocations: 25.7 kB / 0.8167 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/0.0069, allocations: 198.8 kB / 0.8169 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.006913, allocations: 11.89 kB / 0.8169 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.006949, allocations: 35.36 kB / 0.817 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.007068, allocations: 0.5157 MB / 0.8175 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.007093, allocations: 12 kB / 0.8175 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.007111, allocations: 16 kB / 0.8175 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.574e-05/0.007167, allocations: 64.09 kB / 0.8175 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007169, allocations: 0 / 0.8175 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001053/0.007274, allocations: 109.5 kB / 0.8176 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.007289, allocations: 8.438 kB / 0.8177 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.007294, allocations: 0 / 0.8177 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.007309, allocations: 0.5312 kB / 0.8177 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-05/0.007378, allocations: 9.406 kB / 0.8177 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.007383, allocations: 0 / 0.8177 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.537e-05/0.007418, allocations: 11.89 kB / 0.8177 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.007424, allocations: 0 / 0.8177 GB, free: 11.23 MB / 0.7761 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 6.795e-05/0.007492, allocations: 163.2 kB / 0.8178 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.007516, allocations: 27.8 kB / 0.8179 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.126e-05/0.007608, allocations: 54.72 kB / 0.8179 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.007609, allocations: 3.938 kB / 0.8179 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.007612, allocations: 0 / 0.8179 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.007615, allocations: 0 / 0.8179 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.007752, allocations: 197 kB / 0.8181 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.007753, allocations: 1.125 kB / 0.8181 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/0.007776, allocations: 11.98 kB / 0.8181 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.007778, allocations: 0 / 0.8181 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.007785, allocations: 4.844 kB / 0.8181 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.007786, allocations: 0 / 0.8181 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007787, allocations: 0.8438 kB / 0.8181 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.675e-05/0.007884, allocations: 203.8 kB / 0.8183 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.007911, allocations: 32.23 kB / 0.8183 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.007925, allocations: 7.625 kB / 0.8184 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.691e-05/0.007962, allocations: 4 kB / 0.8184 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.007995, allocations: 3.984 kB / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.007998, allocations: 0 / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001218/0.00812, allocations: 235 kB / 0.8186 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.00812, allocations: 0 / 0.8186 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002357/0.008356, allocations: 67.92 kB / 0.8187 GB, free: 10.17 MB / 0.7761 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.000222/0.008578, allocations: 163.1 kB / 0.8188 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.008682, allocations: 37.31 kB / 0.8188 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.008683, allocations: 0 / 0.8188 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.667e-05/0.0087, allocations: 11.69 kB / 0.8189 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.008912, allocations: 24.52 kB / 0.8189 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006013/0.009513, allocations: 331 kB / 0.8192 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.894e-05/0.009562, allocations: 87.3 kB / 0.8193 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.614e-05/0.009588, allocations: 13.2 kB / 0.8193 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.009618, allocations: 18.38 kB / 0.8193 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of SimCode: time 8.01e-07/0.009619, allocations: 0 / 0.8193 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of Templates: time 0.00425/0.01387, allocations: 2.172 MB / 0.8214 GB, free: 7.301 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.175909054931253]