Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.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.0009911/0.0009911, 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.0009575/0.0009575, allocations: 169 kB / 23.02 MB, free: 1.547 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.01/1.01, 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.107/2.107, allocations: 429.5 MB / 0.6733 GB, free: 4.023 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.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.616e-05, allocations: 3.031 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002052/0.002078, allocations: 1.523 MB / 0.8797 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008/0.002878, allocations: 0.6013 MB / 0.8803 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.27e-05/0.002931, allocations: 0 / 0.8803 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.032e-05/0.002961, allocations: 4.688 kB / 0.8803 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.136e-05/0.003013, allocations: 13.05 kB / 0.8803 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.00339, allocations: 59.75 kB / 0.8803 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.312e-05/0.003483, allocations: 28.42 kB / 0.8804 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.444e-05/0.003577, allocations: 4.75 kB / 0.8804 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.003701, allocations: 35.84 kB / 0.8804 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.171e-05/0.003743, allocations: 9.328 kB / 0.8804 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.003756, allocations: 0 / 0.8804 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.003859, allocations: 47.97 kB / 0.8804 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.00387, allocations: 9 kB / 0.8805 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.003892, allocations: 11.94 kB / 0.8805 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.004032, allocations: 75.73 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.004035, allocations: 1.094 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.252e-06/0.004036, allocations: 0 / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.004041, allocations: 0 / 0.8805 GB, free: 3.938 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003499/0.004391, allocations: 381.4 kB / 0.8809 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.004428, allocations: 12.03 kB / 0.8809 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003531/0.007959, allocations: 1.13 MB / 0.882 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.008168, allocations: 156.5 kB / 0.8822 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.00818, allocations: 384 / 0.8822 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.00821, allocations: 8.375 kB / 0.8822 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008214/0.009032, allocations: 334.6 kB / 0.8825 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.009045, allocations: 4.188 kB / 0.8825 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.009071, allocations: 384 / 0.8825 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.009082, allocations: 7.922 kB / 0.8825 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.009344, allocations: 95.89 kB / 0.8826 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.01096, allocations: 0.841 MB / 0.8834 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000801/0.01176, allocations: 318.8 kB / 0.8837 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.0119, allocations: 51.73 kB / 0.8838 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.01193, allocations: 4 kB / 0.8838 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.01195, allocations: 45.25 kB / 0.8838 GB, free: 468 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.01195, allocations: 0 / 0.8838 GB, free: 468 kB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0005437/0.0125, allocations: 165.7 kB / 0.884 GB, free: 296 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.01252, allocations: 55.41 kB / 0.884 GB, free: 228 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.786e-05/0.0126, allocations: 169.9 kB / 0.8842 GB, free: 40 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.01263, allocations: 29.7 kB / 0.8842 GB, free: 4 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.01269, allocations: 130.9 kB / 0.8843 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.01272, allocations: 7.953 kB / 0.8844 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.769e-05/0.0128, allocations: 27.34 kB / 0.8844 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.0129, allocations: 0.4923 MB / 0.8849 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.01304, allocations: 43.98 kB / 0.8849 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.01317, allocations: 47.91 kB / 0.8849 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.01337, allocations: 63.73 kB / 0.885 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01337, allocations: 0 / 0.885 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003338/0.0137, allocations: 117.6 kB / 0.8851 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.01372, allocations: 11.88 kB / 0.8851 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01372, allocations: 4 kB / 0.8851 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.01374, allocations: 0 / 0.8851 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005994/0.01434, allocations: 191.8 kB / 0.8853 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.01434, allocations: 0 / 0.8853 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/0.01484, allocations: 171.8 kB / 0.8855 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.01486, allocations: 7.984 kB / 0.8855 GB, free: 14.67 MB / 0.8542 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 (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 prepare postOptimizeDAE: time 9.438e-05/0.01496, allocations: 164.5 kB / 0.8856 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.01501, allocations: 3.938 kB / 0.8856 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.857e-05/0.01506, allocations: 11.62 kB / 0.8857 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.01506, allocations: 0 / 0.8857 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.01506, allocations: 0 / 0.8857 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01507, allocations: 0 / 0.8857 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.01529, allocations: 225.6 kB / 0.8859 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01529, allocations: 0 / 0.8859 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005481/0.01584, allocations: 187.8 kB / 0.8861 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01584, allocations: 4 kB / 0.8861 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.01586, allocations: 11.92 kB / 0.8861 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01586, allocations: 0 / 0.8861 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.01586, allocations: 0 / 0.8861 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.01625, allocations: 275.8 kB / 0.8863 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.01626, allocations: 4 kB / 0.8863 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.0163, allocations: 3.938 kB / 0.8863 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/0.01683, allocations: 179.9 kB / 0.8865 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.01687, allocations: 7.938 kB / 0.8865 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.01689, allocations: 3.984 kB / 0.8865 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.6e-05/0.01693, allocations: 131.5 kB / 0.8866 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01693, allocations: 0 / 0.8866 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002103/0.01714, allocations: 44 kB / 0.8867 GB, free: 13.38 MB / 0.8542 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.000113/0.01725, allocations: 91.25 kB / 0.8868 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.0176, allocations: 111.6 kB / 0.8869 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.0176, allocations: 0 / 0.8869 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.01776, allocations: 67.7 kB / 0.8869 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.01796, allocations: 27.97 kB / 0.887 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005982/0.01856, allocations: 190 kB / 0.8872 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.408e-05/0.01859, allocations: 59.42 kB / 0.8872 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002181/0.01881, allocations: 28 kB / 0.8872 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.01895, allocations: 20.47 kB / 0.8873 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of SimCode: time 9.12e-07/0.01895, allocations: 0 / 0.8873 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of Templates: time 0.004107/0.02306, allocations: 2.743 MB / 0.8899 GB, free: 9.977 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothLimit.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.466545618139207]