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.453/1.453, allocations: 249.3 MB / 261.8 MB, free: 5.852 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 180.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.001012/0.001012, allocations: 90.52 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.262e-05/4.264e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2416, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.823/1.065, allocations: 131.7 MB / 1.02 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/1.065, allocations: 70.28 kB / 1.02 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004224/1.069, allocations: 1.353 MB / 1.022 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.625e-06/1.069, allocations: 0 / 1.022 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.088e-05/1.069, allocations: 0 / 1.022 GB, free: 1.793 MB / 0.6355 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.000549/1.07, allocations: 350.4 kB / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 8.677e-05/1.07, allocations: 8.031 kB / 1.022 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/1.07, allocations: 0 / 1.022 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/1.07, allocations: 176.1 kB / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/1.07, allocations: 0 / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/1.07, allocations: 0 / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/1.071, allocations: 40.62 kB / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/1.071, allocations: 0 / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/1.071, allocations: 0 / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/1.071, allocations: 4 kB / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.301e-05/1.071, allocations: 15.56 kB / 1.022 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007279/1.072, allocations: 271.5 kB / 1.023 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.166e-05/1.072, allocations: 25.7 kB / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.621e-05/1.072, allocations: 11.98 kB / 1.023 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/1.072, allocations: 85.09 kB / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/1.072, allocations: 34.03 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/1.072, allocations: 0 / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002108/1.072, allocations: 45.45 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/1.072, allocations: 51.41 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/1.072, allocations: 92 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/1.072, allocations: 29.05 kB / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.088e-05/1.072, allocations: 92.12 kB / 1.023 GB, free: 324 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/1.072, allocations: 3.906 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/1.072, allocations: 0 / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001807/1.073, allocations: 318 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/1.073, allocations: 7.938 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.415e-05/1.073, allocations: 4 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.269e-05/1.073, allocations: 4 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.073, allocations: 64 / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.56e-05/1.073, allocations: 54.88 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.073, allocations: 4 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.073, allocations: 0 / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/1.073, allocations: 3.984 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.854e-05/1.073, allocations: 11.98 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/1.073, allocations: 3.938 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.421e-05/1.073, allocations: 14.81 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/1.073, allocations: 4.031 kB / 1.023 GB, free: 15.89 MB / 0.6511 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 () * 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 9.04e-05/1.073, allocations: 104.9 kB / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/1.073, allocations: 7.984 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/1.073, allocations: 59.98 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.073, allocations: 0 / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.073, allocations: 4 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/1.073, allocations: 0 / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/1.074, allocations: 157.4 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.074, allocations: 0 / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.507e-05/1.074, allocations: 20.02 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/1.074, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/1.074, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.074, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/1.074, allocations: 4 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/1.074, allocations: 138.8 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/1.074, allocations: 85.14 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/1.074, allocations: 0 / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.284e-05/1.074, allocations: 7.984 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/1.074, allocations: 4 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/1.074, allocations: 0 / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.888e-05/1.074, allocations: 86.78 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.074, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002447/1.074, allocations: 23.92 kB / 1.024 GB, free: 15.12 MB / 0.6511 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 () * 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.0001941/1.075, allocations: 108 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.877e-05/1.075, allocations: 11.81 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/1.075, allocations: 0 / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.31e-05/1.075, allocations: 7.375 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/1.075, allocations: 7.953 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002645/1.075, allocations: 60.86 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/1.076, allocations: 0.6888 MB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.681e-05/1.076, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/1.076, allocations: 7.438 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of SimCode: time 3.5e-07/1.076, allocations: 0 / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of Templates: time 0.002634/1.078, allocations: 492.4 kB / 1.025 GB, free: 13.72 MB / 0.6511 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