Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008981/0.0008981, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001004/0.001004, allocations: 173 kB / 23.03 MB, free: 1.543 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 1.03/1.03, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.041/2.041, allocations: 429.5 MB / 0.6733 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.483e-05, allocations: 3.906 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00205/0.002075, allocations: 1.523 MB / 0.8797 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003478/0.002423, allocations: 144.5 kB / 0.8798 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.124e-05/0.002454, allocations: 1.25 kB / 0.8798 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.825e-05/0.002503, allocations: 0 / 0.8798 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.711e-05/0.00258, allocations: 10 kB / 0.8798 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.002817, allocations: 37.5 kB / 0.8798 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.639e-05/0.002913, allocations: 38.11 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.00302, allocations: 25.19 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.163e-05/0.003072, allocations: 23.98 kB / 0.8799 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.524e-05/0.003107, allocations: 11.98 kB / 0.8799 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.003125, allocations: 4 kB / 0.8799 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.071e-05/0.003206, allocations: 33.03 kB / 0.88 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.003224, allocations: 11.92 kB / 0.88 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.003246, allocations: 8 kB / 0.88 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.003379, allocations: 65.14 kB / 0.8801 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.003381, allocations: 0 / 0.8801 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003382, allocations: 0 / 0.8801 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.003388, allocations: 1.031 kB / 0.8801 GB, free: 4.395 MB / 0.8386 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.0003545/0.003742, allocations: 388.4 kB / 0.8804 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.003778, allocations: 8.031 kB / 0.8804 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004579/0.004236, allocations: 156 kB / 0.8806 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.46e-05/0.00432, allocations: 116.6 kB / 0.8807 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.004333, allocations: 384 / 0.8807 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.004346, allocations: 4.375 kB / 0.8807 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.004588, allocations: 133 kB / 0.8808 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.004596, allocations: 192 / 0.8808 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.004608, allocations: 384 / 0.8808 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.004615, allocations: 4.312 kB / 0.8808 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.135e-05/0.004697, allocations: 55.84 kB / 0.8809 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.005152, allocations: 340.6 kB / 0.8812 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.005374, allocations: 94.98 kB / 0.8813 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.005414, allocations: 15.75 kB / 0.8813 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.005432, allocations: 3.938 kB / 0.8813 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.005452, allocations: 49.33 kB / 0.8814 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.005453, allocations: 0 / 0.8814 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002154/0.005669, allocations: 73.62 kB / 0.8814 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.005697, allocations: 51.41 kB / 0.8815 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.846e-05/0.005765, allocations: 165.9 kB / 0.8816 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.005777, allocations: 25.7 kB / 0.8817 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.005824, allocations: 142.8 kB / 0.8818 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.005846, allocations: 11.91 kB / 0.8818 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.005882, allocations: 23.38 kB / 0.8818 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.006068, allocations: 0.4923 MB / 0.8823 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.714e-05/0.006105, allocations: 12 kB / 0.8823 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.965e-05/0.006135, allocations: 7.938 kB / 0.8823 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.515e-05/0.0062, allocations: 35.67 kB / 0.8824 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006202, allocations: 0 / 0.8824 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001042/0.006306, allocations: 57.62 kB / 0.8824 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.006319, allocations: 4 kB / 0.8824 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.006325, allocations: 4 kB / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.006336, allocations: 0 / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.006443, allocations: 19.97 kB / 0.8825 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.006448, allocations: 4 kB / 0.8825 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.44e-05/0.006503, allocations: 15.97 kB / 0.8825 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.006512, allocations: 4 kB / 0.8825 GB, free: 1.707 MB / 0.8386 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 7.307e-05/0.006586, allocations: 160.5 kB / 0.8826 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.006609, allocations: 11.89 kB / 0.8826 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.00664, allocations: 4 kB / 0.8826 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.006642, allocations: 3.938 kB / 0.8826 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.006646, allocations: 0 / 0.8826 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.006649, allocations: 3.984 kB / 0.8827 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.006773, allocations: 136.6 kB / 0.8828 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.006776, allocations: 4 kB / 0.8828 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.759e-05/0.006843, allocations: 19.97 kB / 0.8828 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.006847, allocations: 3.938 kB / 0.8828 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.006858, allocations: 4 kB / 0.8828 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.006859, allocations: 0 / 0.8828 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.006862, allocations: 3.984 kB / 0.8828 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.007026, allocations: 204.2 kB / 0.883 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.007035, allocations: 7.953 kB / 0.883 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.007051, allocations: 7.938 kB / 0.883 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.756e-05/0.007118, allocations: 20.02 kB / 0.883 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.007152, allocations: 3.984 kB / 0.883 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.007159, allocations: 4 kB / 0.8831 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.53e-05/0.007194, allocations: 127.5 kB / 0.8832 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.007194, allocations: 0 / 0.8832 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001635/0.007357, allocations: 16 kB / 0.8832 GB, free: 0.9102 MB / 0.8386 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 9.799e-05/0.007455, allocations: 91.25 kB / 0.8833 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.007594, allocations: 43.66 kB / 0.8833 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.007595, allocations: 0 / 0.8833 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.269e-05/0.007638, allocations: 23.62 kB / 0.8833 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.007822, allocations: 23.92 kB / 0.8834 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.008219, allocations: 174 kB / 0.8835 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.073e-05/0.00826, allocations: 63.34 kB / 0.8836 GB, free: 440 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.393e-05/0.008303, allocations: 8 kB / 0.8836 GB, free: 432 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.008356, allocations: 16.48 kB / 0.8836 GB, free: 416 kB / 0.8386 GB Notification: Performance of SimCode: time 7.02e-07/0.008356, allocations: 0 / 0.8836 GB, free: 416 kB / 0.8386 GB Notification: Performance of Templates: time 0.002792/0.01115, allocations: 1.015 MB / 0.8846 GB, free: 15.41 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.306857412215322]