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.00139/0.00139, 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.001668/0.001668, allocations: 169 kB / 23.02 MB, free: 1.551 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.063/1.063, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.085/2.085, allocations: 429.5 MB / 0.6733 GB, free: 3.973 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.953e-06/1.953e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.632e-05/3.827e-05, allocations: 6.938 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00263/0.002668, allocations: 1.528 MB / 0.8797 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004664/0.003134, allocations: 140.2 kB / 0.8798 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.27e-05/0.003177, allocations: 0.5938 kB / 0.8798 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.716e-05/0.003244, allocations: 3.984 kB / 0.8798 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.003348, allocations: 10.89 kB / 0.8798 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.003654, allocations: 33.22 kB / 0.8798 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.003783, allocations: 40.73 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.003931, allocations: 24.8 kB / 0.8799 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.071e-05/0.003992, allocations: 19.97 kB / 0.8799 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.569e-05/0.004038, allocations: 21.02 kB / 0.8799 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.004058, allocations: 4 kB / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.532e-05/0.004143, allocations: 31.97 kB / 0.88 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.004161, allocations: 5.062 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.889e-05/0.00419, allocations: 19.91 kB / 0.88 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.004334, allocations: 51.83 kB / 0.8801 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.004336, allocations: 1.094 kB / 0.8801 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.212e-06/0.004337, allocations: 0 / 0.8801 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.004345, allocations: 3.984 kB / 0.8801 GB, free: 4.363 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.0003948/0.004739, allocations: 385.4 kB / 0.8804 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.004779, allocations: 8.031 kB / 0.8804 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004899/0.005269, allocations: 165.2 kB / 0.8806 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.875e-05/0.005367, allocations: 112.6 kB / 0.8807 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.005384, allocations: 8.375 kB / 0.8807 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.005401, allocations: 384 / 0.8807 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.005653, allocations: 130.8 kB / 0.8808 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.005665, allocations: 192 / 0.8808 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.005678, allocations: 384 / 0.8808 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.005686, allocations: 1 kB / 0.8808 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.408e-05/0.00577, allocations: 44.52 kB / 0.8809 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000504/0.006274, allocations: 346.1 kB / 0.8812 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.006513, allocations: 94.98 kB / 0.8813 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/0.006558, allocations: 19.75 kB / 0.8813 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.006581, allocations: 3.938 kB / 0.8813 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.006606, allocations: 45.31 kB / 0.8814 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.006607, allocations: 0 / 0.8814 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002305/0.006838, allocations: 69.64 kB / 0.8814 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.006865, allocations: 51.41 kB / 0.8815 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.291e-05/0.006938, allocations: 165.9 kB / 0.8816 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.006951, allocations: 25.7 kB / 0.8817 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.007004, allocations: 150.9 kB / 0.8818 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.007027, allocations: 7.906 kB / 0.8818 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.007067, allocations: 27.38 kB / 0.8818 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.007249, allocations: 0.4923 MB / 0.8823 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.999e-05/0.007289, allocations: 11.94 kB / 0.8823 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.383e-05/0.007323, allocations: 15.92 kB / 0.8823 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.352e-05/0.007386, allocations: 27.69 kB / 0.8824 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007388, allocations: 0 / 0.8824 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001089/0.007497, allocations: 57.62 kB / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.007511, allocations: 12 kB / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.007517, allocations: 4 kB / 0.8824 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.007537, allocations: 0 / 0.8824 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.00765, allocations: 19.97 kB / 0.8825 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.007656, allocations: 0 / 0.8825 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.484e-05/0.007711, allocations: 15.97 kB / 0.8825 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.007723, allocations: 4 kB / 0.8825 GB, free: 1.676 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.035e-05/0.007794, allocations: 160.5 kB / 0.8826 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.007818, allocations: 11.89 kB / 0.8826 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/0.007854, allocations: 8.328 kB / 0.8827 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.007857, allocations: 3.984 kB / 0.8827 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.007861, allocations: 0 / 0.8827 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.007865, allocations: 3.984 kB / 0.8827 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.007986, allocations: 132.6 kB / 0.8828 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.007987, allocations: 0 / 0.8828 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.966e-05/0.008057, allocations: 19.97 kB / 0.8828 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.00806, allocations: 3.938 kB / 0.8828 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.00807, allocations: 3.984 kB / 0.8828 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008071, allocations: 4 kB / 0.8828 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.008073, allocations: 0 / 0.8828 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.008225, allocations: 203.9 kB / 0.883 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.008233, allocations: 7.953 kB / 0.883 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.008247, allocations: 7.875 kB / 0.883 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.008317, allocations: 15.97 kB / 0.883 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.008351, allocations: 4 kB / 0.883 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.008359, allocations: 7.984 kB / 0.8831 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.293e-05/0.008392, allocations: 123.5 kB / 0.8832 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/0.008392, allocations: 4 kB / 0.8832 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001526/0.008545, allocations: 12 kB / 0.8832 GB, free: 0.8867 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.798e-05/0.008643, allocations: 99.19 kB / 0.8833 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.008777, allocations: 39.66 kB / 0.8833 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.008778, allocations: 0 / 0.8833 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.212e-05/0.008821, allocations: 23.62 kB / 0.8833 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.009008, allocations: 18.11 kB / 0.8834 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.009396, allocations: 182 kB / 0.8835 GB, free: 496 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.432e-05/0.00943, allocations: 59.58 kB / 0.8836 GB, free: 416 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.257e-05/0.009473, allocations: 15.98 kB / 0.8836 GB, free: 400 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.009518, allocations: 12.5 kB / 0.8836 GB, free: 388 kB / 0.8386 GB Notification: Performance of SimCode: time 6.21e-07/0.009519, allocations: 0 / 0.8836 GB, free: 388 kB / 0.8386 GB Notification: Performance of Templates: time 0.002556/0.01207, allocations: 0.965 MB / 0.8846 GB, free: 15.43 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.356044789776206]