Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 189.1 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.832/1.832, allocations: 205.4 MB / 0.5775 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008759/0.0008758, allocations: 97.11 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003695, allocations: 9.594 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2217, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1613/0.3831, allocations: 131.7 MB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/0.3833, allocations: 71.95 kB / 1.029 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003753/0.3871, allocations: 1.35 MB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3871, allocations: 0 / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3872, allocations: 8 kB / 1.03 GB, free: 10.58 MB / 0.6823 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.0003899/0.3875, allocations: 351.2 kB / 1.03 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.3876, allocations: 8.031 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.3876, allocations: 0 / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.3878, allocations: 182.8 kB / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.3878, allocations: 4 kB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.3878, allocations: 0 / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.388, allocations: 57.67 kB / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-06/0.388, allocations: 0 / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.388, allocations: 0 / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3881, allocations: 4 kB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.3882, allocations: 43.97 kB / 1.031 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.3886, allocations: 264.9 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.3888, allocations: 46.5 kB / 1.031 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-05/0.3889, allocations: 85.16 kB / 1.031 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.3889, allocations: 30.56 kB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3889, allocations: 3.938 kB / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003521/0.3893, allocations: 101.6 kB / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.3893, allocations: 55.34 kB / 1.031 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.115e-05/0.3894, allocations: 93 kB / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.3894, allocations: 25.7 kB / 1.031 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.3895, allocations: 88.25 kB / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.3895, allocations: 11.91 kB / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.3895, allocations: 0 / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3896, allocations: 314.8 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.39e-05/0.3897, allocations: 23.98 kB / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.966e-05/0.3898, allocations: 23.97 kB / 1.032 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.683e-05/0.3899, allocations: 23.98 kB / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3899, allocations: 0 / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001865/0.3901, allocations: 73.73 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3901, allocations: 4 kB / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3901, allocations: 3.984 kB / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3901, allocations: 4.25 kB / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.071e-05/0.3902, allocations: 11.94 kB / 1.032 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3902, allocations: 4 kB / 1.032 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.3903, allocations: 11.92 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.3903, allocations: 8.031 kB / 1.032 GB, free: 8.426 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.481e-05/0.3904, allocations: 114.5 kB / 1.032 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.3904, allocations: 3.906 kB / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.3906, allocations: 84.77 kB / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3906, allocations: 0 / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3906, allocations: 4 kB / 1.032 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3907, allocations: 0 / 1.032 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.3908, allocations: 165.6 kB / 1.032 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3908, allocations: 0 / 1.032 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.885e-05/0.3909, allocations: 11.98 kB / 1.032 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3909, allocations: 0 / 1.032 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.3909, allocations: 0 / 1.032 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3909, allocations: 7.938 kB / 1.032 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3909, allocations: 4.031 kB / 1.032 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.3912, allocations: 167.5 kB / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.3912, allocations: 85.12 kB / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.3912, allocations: 4 kB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.3913, allocations: 11.98 kB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.3913, allocations: 0 / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.3914, allocations: 4 kB / 1.033 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.348e-05/0.3914, allocations: 83.27 kB / 1.033 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3914, allocations: 0 / 1.033 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002188/0.3916, allocations: 23.88 kB / 1.033 GB, free: 7.566 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000171/0.3918, allocations: 111.2 kB / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002121/0.392, allocations: 51.89 kB / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.392, allocations: 0 / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.146e-05/0.3921, allocations: 24.05 kB / 1.033 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.3923, allocations: 7.953 kB / 1.033 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002655/0.3926, allocations: 120.5 kB / 1.033 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.3928, allocations: 0.6809 MB / 1.034 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.6e-05/0.3929, allocations: 4.062 kB / 1.034 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/0.3929, allocations: 7.438 kB / 1.034 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.3929, allocations: 0 / 1.034 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.002241/0.3951, allocations: 475.6 kB / 1.034 GB, free: 6.039 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_SmoothExponential.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches