Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.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.0014/0.0014, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001454/0.001454, allocations: 161 kB / 24.16 MB, free: 332 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 1.032/1.032, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.014/2.014, allocations: 377.9 MB / 0.624 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.[0-9,]+..y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.[0-9,]+..y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.7601 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.359e-05, allocations: 6.312 kB / 0.7601 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002403/0.002426, allocations: 1.58 MB / 0.7616 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000343/0.002769, allocations: 136.2 kB / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.002801, allocations: 4 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.86e-05/0.002839, allocations: 3.938 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.184e-05/0.002901, allocations: 3.562 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.00307, allocations: 33.42 kB / 0.7618 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.293e-05/0.003153, allocations: 41.88 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.359e-05/0.003246, allocations: 16.58 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.351e-05/0.0033, allocations: 26.42 kB / 0.7619 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.707e-05/0.003337, allocations: 18.81 kB / 0.7619 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.003352, allocations: 4 kB / 0.7619 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.896e-05/0.003441, allocations: 32.56 kB / 0.7619 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.003455, allocations: 6.125 kB / 0.7619 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.003478, allocations: 14.41 kB / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.003587, allocations: 62.42 kB / 0.762 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003589, allocations: 4 kB / 0.762 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.999e-06/0.003594, allocations: 1.031 kB / 0.762 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.003598, allocations: 0 / 0.762 GB, free: 4.68 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002622/0.00386, allocations: 257.3 kB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.003893, allocations: 13.59 kB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003554/0.004248, allocations: 78.03 kB / 0.7623 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.649e-05/0.004335, allocations: 117.7 kB / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.004346, allocations: 4.375 kB / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.004356, allocations: 0.875 kB / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.004541, allocations: 104.3 kB / 0.7625 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.004547, allocations: 192 / 0.7625 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.004562, allocations: 4.375 kB / 0.7625 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.004566, allocations: 1.188 kB / 0.7625 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.579e-05/0.004622, allocations: 37.3 kB / 0.7626 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.004977, allocations: 208.2 kB / 0.7628 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.005151, allocations: 72.89 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.601e-05/0.005177, allocations: 12.86 kB / 0.7629 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.005192, allocations: 0 / 0.7629 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.005212, allocations: 35.59 kB / 0.7629 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.005213, allocations: 0 / 0.7629 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001333/0.005347, allocations: 61.61 kB / 0.763 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.005375, allocations: 56.28 kB / 0.763 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.022e-05/0.005425, allocations: 110.8 kB / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.005437, allocations: 26.3 kB / 0.7631 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.005469, allocations: 92.06 kB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.005495, allocations: 14.69 kB / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.005536, allocations: 17.7 kB / 0.7633 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.194e-05/0.005628, allocations: 310.8 kB / 0.7636 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.717e-05/0.005655, allocations: 8 kB / 0.7636 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.329e-05/0.005678, allocations: 7.984 kB / 0.7636 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.755e-05/0.005726, allocations: 24.83 kB / 0.7636 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.005728, allocations: 3.031 kB / 0.7636 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.987e-05/0.005807, allocations: 49.62 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.00582, allocations: 7.938 kB / 0.7637 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.005824, allocations: 336 / 0.7637 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.694e-06/0.005832, allocations: 4 kB / 0.7637 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.603e-05/0.005928, allocations: 19.97 kB / 0.7637 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.00593, allocations: 4.25 kB / 0.7637 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.729e-05/0.005977, allocations: 17.48 kB / 0.7637 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.005985, allocations: 0 / 0.7637 GB, free: 2.793 MB / 0.7136 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): 3 * 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 5.453e-05/0.006039, allocations: 105.8 kB / 0.7638 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.006063, allocations: 12.62 kB / 0.7638 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.006091, allocations: 8.594 kB / 0.7638 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006093, allocations: 1.875 kB / 0.7638 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.006096, allocations: 4 kB / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.006099, allocations: 0 / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.006202, allocations: 81.88 kB / 0.7639 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.006204, allocations: 4 kB / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.027e-05/0.006274, allocations: 22.41 kB / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.006276, allocations: 0 / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.006282, allocations: 0 / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.006285, allocations: 3.984 kB / 0.7639 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.006287, allocations: 3.938 kB / 0.7639 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.006398, allocations: 147.5 kB / 0.7641 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-06/0.006404, allocations: 6.328 kB / 0.7641 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.006415, allocations: 4 kB / 0.7641 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.764e-05/0.006483, allocations: 11.98 kB / 0.7641 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.00651, allocations: 11.92 kB / 0.7641 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.006515, allocations: 0 / 0.7641 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.187e-05/0.006527, allocations: 10.39 kB / 0.7641 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006527, allocations: 0 / 0.7641 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001285/0.006656, allocations: 12 kB / 0.7641 GB, free: 2.312 MB / 0.7136 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 (3): * Single equations (assignments): 3 * 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 7.917e-05/0.006735, allocations: 86.53 kB / 0.7642 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.202e-05/0.006817, allocations: 28.78 kB / 0.7642 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.00682, allocations: 4 kB / 0.7642 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.989e-05/0.00685, allocations: 16.86 kB / 0.7643 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.006982, allocations: 8 kB / 0.7643 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.007289, allocations: 166.8 kB / 0.7644 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.365e-05/0.007323, allocations: 55.36 kB / 0.7645 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.965e-05/0.007362, allocations: 11.3 kB / 0.7645 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.232e-05/0.007434, allocations: 51.38 kB / 0.7645 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of SimCode: time 8.41e-07/0.007435, allocations: 0.9688 kB / 0.7645 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of Templates: time 0.002538/0.009974, allocations: 0.9531 MB / 0.7655 GB, free: 0.9219 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothMin.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.128863751422614]