Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 195.6 kB / 16.14 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.794/2.794, allocations: 437 MB / 0.71 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 60.05 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6809/0.6828, allocations: 151.6 MB / 1.017 GB, free: 3.004 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002697/0.6855, allocations: 1.503 MB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004661/0.686, allocations: 204.2 kB / 1.018 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.237e-05/0.6861, allocations: 0 / 1.018 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.6861, allocations: 0 / 1.018 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.982e-05/0.6862, allocations: 4 kB / 1.018 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.6864, allocations: 27.92 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.096e-05/0.6865, allocations: 23.92 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.7e-05/0.6866, allocations: 11.98 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.939e-05/0.6866, allocations: 11.92 kB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.597e-05/0.6867, allocations: 15.92 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.6867, allocations: 0 / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.043e-05/0.6868, allocations: 31.97 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.6868, allocations: 0 / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.6868, allocations: 11.94 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.6869, allocations: 39.92 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.687, allocations: 3.938 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.92e-07/0.687, allocations: 4 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.687, allocations: 4 kB / 1.018 GB, free: 1.102 MB / 0.7637 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.0004872/0.6875, allocations: 339.3 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.6875, allocations: 12.03 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.6875, allocations: 4.844 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.6877, allocations: 164.4 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.6877, allocations: 384 / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.6877, allocations: 4.359 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.6879, allocations: 58.17 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.6879, allocations: 192 / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.6879, allocations: 3.938 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.688, allocations: 0 / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.6881, allocations: 35.95 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.6885, allocations: 248.9 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.6886, allocations: 42.53 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.315e-05/0.6887, allocations: 28.91 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.6888, allocations: 81.05 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.6889, allocations: 38.55 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6889, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003621/0.6892, allocations: 89.5 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.6893, allocations: 51.41 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.937e-05/0.6894, allocations: 105.8 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.6894, allocations: 25.7 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.6895, allocations: 88.14 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.6895, allocations: 3.906 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.6895, allocations: 17.83 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6897, allocations: 318.8 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.558e-05/0.6898, allocations: 11.98 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.697e-05/0.6898, allocations: 23.92 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.69, allocations: 36.81 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.69, allocations: 4.062 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002158/0.6902, allocations: 69.59 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6903, allocations: 4 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.6903, allocations: 7.938 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.6903, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.704e-05/0.6904, allocations: 4 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.6904, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.6905, allocations: 7.984 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.6905, allocations: 4.031 kB / 1.02 GB, free: 14.96 MB / 0.7794 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.509e-05/0.6906, allocations: 122.2 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.6906, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.6909, allocations: 72.77 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.6909, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6909, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.6909, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.6911, allocations: 165.6 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.6911, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.6912, allocations: 7.984 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6912, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.6912, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6912, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.6912, allocations: 4 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.6915, allocations: 171.3 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.6915, allocations: 77.11 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.6915, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.733e-05/0.6916, allocations: 7.984 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.6917, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.6917, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.704e-05/0.6917, allocations: 87.52 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6917, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000234/0.692, allocations: 16.03 kB / 1.021 GB, free: 14.14 MB / 0.7794 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.000179/0.6922, allocations: 115.2 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002181/0.6924, allocations: 35.95 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6924, allocations: 3.938 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.442e-05/0.6925, allocations: 15.98 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.6928, allocations: 13.94 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.6931, allocations: 111.2 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.6934, allocations: 0.677 MB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.6935, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.6935, allocations: 7.438 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.6935, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of Templates: time 0.002988/0.6965, allocations: 0.5145 MB / 1.022 GB, free: 12.59 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches