Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001607/0.001607, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001724/0.001724, allocations: 156.4 kB / 23.01 MB, free: 4.949 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.509/1.509, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 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 2.831/2.831, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.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.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 71.88 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7855/0.7877, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002306/0.7901, allocations: 1.465 MB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0003919/0.7904, allocations: 180.5 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.7905, allocations: 0 / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.7905, allocations: 3.938 kB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.592e-05/0.7906, allocations: 9.734 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.7908, allocations: 37.28 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.045e-05/0.7909, allocations: 32.72 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 7.991e-05/0.791, allocations: 8.438 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.593e-05/0.791, allocations: 8.469 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.638e-05/0.791, allocations: 9.219 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.791, allocations: 2.688 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.569e-05/0.7911, allocations: 32.61 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.7911, allocations: 6.875 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.465e-05/0.7912, allocations: 11.89 kB / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.7913, allocations: 39.69 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7913, allocations: 0 / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7913, allocations: 0 / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.7913, allocations: 1.375 kB / 1.188 GB, free: 14.99 MB / 1.076 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.0003572/0.7916, allocations: 269.3 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.7917, allocations: 10.42 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.7917, allocations: 2.312 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.112e-05/0.7918, allocations: 109.9 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.7918, allocations: 6.438 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.7918, allocations: 1.75 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.792, allocations: 52.86 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.792, allocations: 192 / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.792, allocations: 5.312 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.792, allocations: 3.938 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.7922, allocations: 33.7 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.7924, allocations: 194.8 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.7925, allocations: 41.77 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.718e-05/0.7926, allocations: 24.02 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.844e-05/0.7926, allocations: 7.859 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.7927, allocations: 35.75 kB / 1.189 GB, free: 14.24 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.7927, allocations: 0 / 1.189 GB, free: 14.24 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.000346/0.793, allocations: 81 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.793, allocations: 52.06 kB / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.403e-05/0.7931, allocations: 107.5 kB / 1.189 GB, free: 14.04 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.111e-06/0.7931, allocations: 25.7 kB / 1.189 GB, free: 14 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.471e-05/0.7931, allocations: 82.84 kB / 1.189 GB, free: 13.92 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.7931, allocations: 9.766 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.7932, allocations: 16.59 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.095e-05/0.7932, allocations: 313.2 kB / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.609e-05/0.7933, allocations: 18.17 kB / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.7934, allocations: 14.7 kB / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.7935, allocations: 45.55 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7935, allocations: 0.6562 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001878/0.7937, allocations: 67.05 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.7937, allocations: 15.69 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.7937, allocations: 0.7031 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.7937, allocations: 1.062 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.683e-05/0.7938, allocations: 16.08 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.7938, allocations: 1.797 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.821e-05/0.7939, allocations: 5.391 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.7939, allocations: 1.312 kB / 1.19 GB, free: 13.5 MB / 1.076 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 3.982e-05/0.7939, allocations: 109 kB / 1.19 GB, free: 13.39 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.794, allocations: 9.828 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.7942, allocations: 79.5 kB / 1.19 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.7942, allocations: 0.8438 kB / 1.19 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.7942, allocations: 4.828 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.7942, allocations: 1.094 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.153e-05/0.7943, allocations: 105.2 kB / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.7943, allocations: 4 kB / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.812e-05/0.7943, allocations: 9.359 kB / 1.19 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.7943, allocations: 3.938 kB / 1.19 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.7943, allocations: 0.9062 kB / 1.19 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7943, allocations: 0.6562 kB / 1.19 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7943, allocations: 0.8438 kB / 1.19 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.7945, allocations: 167.8 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.7946, allocations: 6.688 kB / 1.19 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.7946, allocations: 0.75 kB / 1.19 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.7946, allocations: 6.266 kB / 1.19 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.7947, allocations: 3.141 kB / 1.19 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.7947, allocations: 1 kB / 1.19 GB, free: 13.04 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.189e-05/0.7947, allocations: 84.56 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.7947, allocations: 0 / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000234/0.7949, allocations: 10.44 kB / 1.191 GB, free: 12.96 MB / 1.076 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.000109/0.795, allocations: 103.6 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.7953, allocations: 35.39 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.7953, allocations: 1.125 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.649e-05/0.7953, allocations: 24.31 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.7956, allocations: 5.844 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.7958, allocations: 115.3 kB / 1.191 GB, free: 12.74 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.579e-05/0.7959, allocations: 64.64 kB / 1.191 GB, free: 12.66 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.149e-05/0.7959, allocations: 5.141 kB / 1.191 GB, free: 12.66 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.7959, allocations: 10.25 kB / 1.191 GB, free: 12.65 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/0.7959, allocations: 0 / 1.191 GB, free: 12.65 MB / 1.076 GB Notification: Performance of Templates: time 0.002872/0.7988, allocations: 0.5975 MB / 1.192 GB, free: 12.57 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.483288425020874]