Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 249.3 MB / 261.8 MB, free: 5.875 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.001026/0.001026, allocations: 176.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.927/1.927, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.0009403/0.0009403, allocations: 94.42 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.905e-05/3.908e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2337, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8266/1.06, allocations: 131.8 MB / 1.02 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/1.061, allocations: 71.14 kB / 1.021 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003413/1.064, allocations: 1.158 MB / 1.022 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.322e-06/1.064, allocations: 0 / 1.022 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.907e-06/1.064, allocations: 0 / 1.022 GB, free: 1.777 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004102/1.065, allocations: 354.4 kB / 1.022 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/1.065, allocations: 8.031 kB / 1.022 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008397/1.066, allocations: 187.6 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/1.066, allocations: 167 kB / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/1.066, allocations: 2.938 kB / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/1.066, allocations: 4 kB / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/1.066, allocations: 110.1 kB / 1.022 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.066, allocations: 4 kB / 1.022 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/1.066, allocations: 3.812 kB / 1.022 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/1.066, allocations: 0 / 1.022 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/1.066, allocations: 118.8 kB / 1.023 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009573/1.067, allocations: 467.6 kB / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/1.068, allocations: 156.6 kB / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.688e-05/1.068, allocations: 54.36 kB / 1.023 GB, free: 168 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/1.068, allocations: 0 / 1.023 GB, free: 168 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/1.068, allocations: 33.94 kB / 1.023 GB, free: 128 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.685e-06/1.068, allocations: 7.984 kB / 1.023 GB, free: 120 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002595/1.068, allocations: 113.4 kB / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/1.068, allocations: 55.41 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.582e-05/1.068, allocations: 107.8 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/1.068, allocations: 25.7 kB / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/1.068, allocations: 88.94 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/1.068, allocations: 11.56 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-06/1.068, allocations: 3.938 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.068, allocations: 310.8 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.019e-05/1.069, allocations: 50.97 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.569e-05/1.069, allocations: 38.22 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.488e-05/1.069, allocations: 41.44 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.069, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001858/1.069, allocations: 110.7 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/1.069, allocations: 5.875 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/1.069, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/1.069, allocations: 3.953 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/1.069, allocations: 51.88 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/1.069, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/1.069, allocations: 43.2 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/1.07, allocations: 4 kB / 1.024 GB, free: 15.12 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 (3): * Single equations (assignments): 3 * 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.075e-05/1.07, allocations: 105 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/1.07, allocations: 7.984 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/1.07, allocations: 15.59 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1.07, allocations: 0 / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.07, allocations: 3.953 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.07, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/1.07, allocations: 207.8 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.07, allocations: 0 / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/1.07, allocations: 43.95 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/1.07, allocations: 0 / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/1.07, allocations: 7.734 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/1.07, allocations: 0 / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/1.07, allocations: 3.953 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/1.07, allocations: 196.4 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/1.071, allocations: 92.89 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/1.071, allocations: 3.984 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/1.071, allocations: 35.95 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/1.071, allocations: 3.953 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/1.071, allocations: 0 / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.463e-05/1.071, allocations: 103 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.071, allocations: 4 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002055/1.071, allocations: 15.62 kB / 1.025 GB, free: 14.25 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 (3): * Single equations (assignments): 3 * 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.0001372/1.071, allocations: 95.25 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001912/1.071, allocations: 89.12 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.071, allocations: 0 / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/1.072, allocations: 50.28 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/1.072, allocations: 4 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006067/1.072, allocations: 186.7 kB / 1.026 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/1.073, allocations: 0.6926 MB / 1.026 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.571e-05/1.073, allocations: 19.98 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.155e-05/1.073, allocations: 14.42 kB / 1.026 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of SimCode: time 3.91e-07/1.073, allocations: 0 / 1.026 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of Templates: time 0.002689/1.076, allocations: 0.8176 MB / 1.027 GB, free: 12.3 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_SmoothMin.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches