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.001644/0.001644, allocations: 88.72 kB / 19.44 MB, free: 356 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.001642/0.001642, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.478/1.478, allocations: 177.1 MB / 203.1 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 178] 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 3.234/3.234, allocations: 429.6 MB / 0.673 GB, free: 3.863 MB / 0.6355 GB " [Timeout remaining time 176] 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.2..y|smoLim.1..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.2..y|smoLim.1..y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8776 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.804e-05, allocations: 6.438 kB / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003021/0.003049, allocations: 1.484 MB / 0.879 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004712/0.003521, allocations: 149.1 kB / 0.8792 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.003554, allocations: 0 / 0.8792 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.805e-05/0.003602, allocations: 1.75 kB / 0.8792 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.944e-05/0.003671, allocations: 10.66 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.003915, allocations: 33.03 kB / 0.8792 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.004028, allocations: 44.06 kB / 0.8793 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.00416, allocations: 15.97 kB / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.353e-05/0.004224, allocations: 20.83 kB / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.613e-05/0.00427, allocations: 19.92 kB / 0.8793 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.004289, allocations: 7.438 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.00439, allocations: 27.97 kB / 0.8794 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.004413, allocations: 11.98 kB / 0.8794 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.026e-05/0.004454, allocations: 15.94 kB / 0.8794 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.004634, allocations: 71.77 kB / 0.8795 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.004636, allocations: 4 kB / 0.8795 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.51e-07/0.004637, allocations: 0 / 0.8795 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.004641, allocations: 0 / 0.8795 GB, free: 4.617 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.0005392/0.00518, allocations: 286.7 kB / 0.8797 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.005217, allocations: 8.031 kB / 0.8797 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.006439, allocations: 219.2 kB / 0.8799 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.006567, allocations: 109.7 kB / 0.8801 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.006587, allocations: 9.531 kB / 0.8801 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.006604, allocations: 384 / 0.8801 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006229/0.007227, allocations: 202.6 kB / 0.8803 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.007238, allocations: 4.172 kB / 0.8803 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.007253, allocations: 384 / 0.8803 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.007258, allocations: 384 / 0.8803 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.008275, allocations: 279.5 kB / 0.8805 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009842/0.009259, allocations: 369.2 kB / 0.8809 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.01046, allocations: 282.2 kB / 0.8811 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003789/0.01084, allocations: 100.8 kB / 0.8812 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.01087, allocations: 7.938 kB / 0.8812 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.01091, allocations: 34.56 kB / 0.8813 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.01091, allocations: 3.938 kB / 0.8813 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.001295/0.0122, allocations: 309.3 kB / 0.8816 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.01225, allocations: 55.41 kB / 0.8816 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.01237, allocations: 105.8 kB / 0.8817 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.01239, allocations: 29.7 kB / 0.8818 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.349e-05/0.01247, allocations: 88.14 kB / 0.8818 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.0125, allocations: 11.89 kB / 0.8819 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/0.01256, allocations: 17.72 kB / 0.8819 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.01273, allocations: 318.8 kB / 0.8822 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004114/0.01314, allocations: 95.86 kB / 0.8823 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.01353, allocations: 99.88 kB / 0.8824 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007299/0.01426, allocations: 168.6 kB / 0.8825 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.01426, allocations: 0 / 0.8825 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000825/0.01508, allocations: 217.4 kB / 0.8827 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.0151, allocations: 8 kB / 0.8827 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.01511, allocations: 0 / 0.8827 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.01512, allocations: 0 / 0.8827 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.0154, allocations: 39.94 kB / 0.8828 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.01541, allocations: 4 kB / 0.8828 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.01561, allocations: 27.89 kB / 0.8828 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.01563, allocations: 4 kB / 0.8828 GB, free: 1 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 0.0001189/0.01575, allocations: 117.8 kB / 0.8829 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.01579, allocations: 11.83 kB / 0.8829 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.399e-05/0.01584, allocations: 8 kB / 0.8829 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01584, allocations: 0 / 0.8829 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.01585, allocations: 4 kB / 0.8829 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.01585, allocations: 0 / 0.8829 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.01607, allocations: 141.3 kB / 0.8831 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01607, allocations: 0 / 0.8831 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.01633, allocations: 39.94 kB / 0.8831 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.01633, allocations: 3.938 kB / 0.8831 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.01634, allocations: 0 / 0.8831 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01634, allocations: 0 / 0.8831 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01635, allocations: 0.6406 kB / 0.8831 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009055/0.01725, allocations: 316 kB / 0.8834 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.01726, allocations: 7.938 kB / 0.8834 GB, free: 316 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.01729, allocations: 7.938 kB / 0.8834 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.01753, allocations: 27.95 kB / 0.8835 GB, free: 280 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.01757, allocations: 7.938 kB / 0.8835 GB, free: 272 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.01758, allocations: 3.984 kB / 0.8835 GB, free: 268 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.346e-05/0.01765, allocations: 91.27 kB / 0.8836 GB, free: 176 kB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01765, allocations: 0 / 0.8836 GB, free: 176 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002589/0.01791, allocations: 15.94 kB / 0.8836 GB, free: 160 kB / 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 0.0001341/0.01804, allocations: 91.25 kB / 0.8837 GB, free: 56 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008578/0.0189, allocations: 199.7 kB / 0.8839 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.0189, allocations: 0 / 0.8839 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003956/0.0193, allocations: 99.88 kB / 0.884 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.01956, allocations: 7.984 kB / 0.884 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.02059, allocations: 272.2 kB / 0.8842 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.629e-05/0.02069, allocations: 71.33 kB / 0.8843 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.044e-05/0.02078, allocations: 19.98 kB / 0.8843 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.66e-05/0.02085, allocations: 12.5 kB / 0.8843 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.02085, allocations: 0 / 0.8843 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of Templates: time 0.003717/0.02457, allocations: 0.9651 MB / 0.8853 GB, free: 14.39 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.091632814961486]