Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.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.001455/0.001455, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001539/0.001539, allocations: 163.2 kB / 22.46 MB, free: 5.375 MB / 14.72 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.481/1.481, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.871/2.871, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.136e-05/4.417e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.005143/0.005187, allocations: 1.466 MB / 0.9829 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008235/0.00601, allocations: 187.3 kB / 0.983 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.516e-05/0.006055, allocations: 0 / 0.983 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.714e-05/0.006103, allocations: 3.938 kB / 0.983 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.183e-05/0.006174, allocations: 4 kB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.006589, allocations: 39.84 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.0067, allocations: 31.84 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.006805, allocations: 4 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.481e-05/0.00688, allocations: 11.98 kB / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.64e-05/0.006937, allocations: 11.94 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.006957, allocations: 0 / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.007099, allocations: 27.97 kB / 0.9832 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.768e-05/0.007127, allocations: 11.98 kB / 0.9832 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.007159, allocations: 3.938 kB / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.007352, allocations: 51.86 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.007356, allocations: 0 / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.633e-06/0.007358, allocations: 0 / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.007363, allocations: 0 / 0.9832 GB, free: 10.11 MB / 0.9356 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.0007069/0.00807, allocations: 270.2 kB / 0.9835 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.402e-05/0.008134, allocations: 12.03 kB / 0.9835 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.008186, allocations: 4.891 kB / 0.9835 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.008359, allocations: 113.8 kB / 0.9836 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.008375, allocations: 384 / 0.9836 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.008389, allocations: 384 / 0.9836 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.008671, allocations: 54.23 kB / 0.9837 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.008681, allocations: 192 / 0.9837 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.008704, allocations: 4.359 kB / 0.9837 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.008713, allocations: 4.375 kB / 0.9837 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.008989, allocations: 31.91 kB / 0.9837 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/0.009479, allocations: 200.6 kB / 0.9839 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.009685, allocations: 34.56 kB / 0.9839 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.009848, allocations: 24.91 kB / 0.984 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.644e-05/0.009934, allocations: 11.92 kB / 0.984 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.009981, allocations: 30.56 kB / 0.984 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.009982, allocations: 0 / 0.984 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0006283/0.01061, allocations: 93.47 kB / 0.9841 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.01068, allocations: 51.41 kB / 0.9841 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.01082, allocations: 105.9 kB / 0.9842 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.01085, allocations: 29.83 kB / 0.9843 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.986e-05/0.01094, allocations: 88.11 kB / 0.9843 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.01097, allocations: 7.953 kB / 0.9844 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.01103, allocations: 13.72 kB / 0.9844 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.01124, allocations: 314.8 kB / 0.9847 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.01139, allocations: 15.98 kB / 0.9847 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.01154, allocations: 15.97 kB / 0.9847 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.01184, allocations: 40.89 kB / 0.9847 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01185, allocations: 0 / 0.9847 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004024/0.01225, allocations: 73.59 kB / 0.9848 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.01227, allocations: 4 kB / 0.9848 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.01228, allocations: 3.938 kB / 0.9848 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.0123, allocations: 4 kB / 0.9848 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.01244, allocations: 11.92 kB / 0.9848 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.01245, allocations: 4.031 kB / 0.9848 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.257e-05/0.01254, allocations: 7.938 kB / 0.9848 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.01255, allocations: 0 / 0.9848 GB, free: 8.289 MB / 0.9356 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 0.0001502/0.0127, allocations: 109.8 kB / 0.9849 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.01275, allocations: 7.938 kB / 0.985 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004168/0.01317, allocations: 80.84 kB / 0.985 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01317, allocations: 0 / 0.985 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.01318, allocations: 0 / 0.985 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.01318, allocations: 4.031 kB / 0.985 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.01343, allocations: 105.3 kB / 0.9851 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01343, allocations: 4 kB / 0.9851 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.747e-05/0.01353, allocations: 4 kB / 0.9851 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.01353, allocations: 0 / 0.9851 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.01354, allocations: 0 / 0.9851 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/0.01355, allocations: 7.922 kB / 0.9852 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01355, allocations: 7.938 kB / 0.9852 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004266/0.01398, allocations: 155.5 kB / 0.9853 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.01399, allocations: 3.984 kB / 0.9853 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.01401, allocations: 4 kB / 0.9853 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.01415, allocations: 7.938 kB / 0.9853 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.01421, allocations: 11.92 kB / 0.9853 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.01421, allocations: 0 / 0.9853 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001192/0.01433, allocations: 83.53 kB / 0.9854 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.01433, allocations: 0 / 0.9854 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004558/0.01479, allocations: 12 kB / 0.9854 GB, free: 7.633 MB / 0.9356 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.000267/0.01506, allocations: 111.8 kB / 0.9855 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003592/0.01541, allocations: 31.97 kB / 0.9856 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01542, allocations: 0 / 0.9856 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.01559, allocations: 23.97 kB / 0.9856 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.01607, allocations: 7.938 kB / 0.9856 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.0165, allocations: 108 kB / 0.9857 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.0166, allocations: 59.48 kB / 0.9858 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.722e-05/0.01664, allocations: 3.984 kB / 0.9858 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.01668, allocations: 12.5 kB / 0.9858 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of SimCode: time 6.71e-07/0.01668, allocations: 0 / 0.9858 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of Templates: time 0.005077/0.02175, allocations: 0.6083 MB / 0.9864 GB, free: 6.625 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.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.026016406714916]