Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, allocations: 249.3 MB / 261.8 MB, free: 5.918 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.001198/0.001198, allocations: 180.9 kB / 321.3 MB, free: 14.63 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.835/1.835, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0009713/0.0009714, allocations: 86.53 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.256e-05/4.258e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.235, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8111/1.046, allocations: 132.4 MB / 1.021 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/1.047, allocations: 77.08 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004439/1.051, allocations: 1.391 MB / 1.023 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.114e-06/1.051, allocations: 0 / 1.023 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.448e-06/1.051, allocations: 0 / 1.023 GB, free: 1.016 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.0003839/1.051, allocations: 338.2 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/1.051, allocations: 16.02 kB / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/1.051, allocations: 0 / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/1.052, allocations: 178.9 kB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/1.052, allocations: 0 / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/1.052, allocations: 0 / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/1.052, allocations: 45.11 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/1.052, allocations: 0 / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/1.052, allocations: 0 / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.052, allocations: 0 / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.07e-05/1.052, allocations: 15 kB / 1.023 GB, free: 368 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/1.052, allocations: 256 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.6e-05/1.052, allocations: 32.14 kB / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/1.052, allocations: 9.797 kB / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007136/1.053, allocations: 473.1 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/1.053, allocations: 30.56 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/1.053, allocations: 0 / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.000214/1.053, allocations: 40.81 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/1.053, allocations: 59.34 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/1.054, allocations: 103.2 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/1.054, allocations: 25.7 kB / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/1.054, allocations: 91.47 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/1.054, allocations: 11.25 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/1.054, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.054, allocations: 314.8 kB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/1.054, allocations: 7.625 kB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.265e-05/1.054, allocations: 4 kB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.007e-05/1.054, allocations: 15.86 kB / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.054, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.075e-05/1.054, allocations: 44.73 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/1.054, allocations: 5.562 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.054, allocations: 0 / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/1.054, allocations: 0 / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.357e-05/1.054, allocations: 15.92 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/1.054, allocations: 0 / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.349e-05/1.054, allocations: 7.375 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/1.054, allocations: 11.97 kB / 1.025 GB, free: 14.67 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 8.99e-05/1.054, allocations: 104.9 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/1.054, allocations: 0 / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/1.055, allocations: 56.3 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.055, allocations: 3.984 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/1.055, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/1.055, allocations: 4 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/1.055, allocations: 161.2 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/1.055, allocations: 4.031 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/1.055, allocations: 7.984 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/1.055, allocations: 4 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/1.055, allocations: 3.938 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.055, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.055, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/1.055, allocations: 146.3 kB / 1.025 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/1.055, allocations: 77.11 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/1.055, allocations: 8.031 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.717e-05/1.055, allocations: 0 / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/1.055, allocations: 7.984 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/1.055, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.075e-05/1.055, allocations: 90.7 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.055, allocations: 0 / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002263/1.056, allocations: 23.94 kB / 1.025 GB, free: 13.91 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.0002042/1.056, allocations: 116.4 kB / 1.025 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.047e-05/1.056, allocations: 15.5 kB / 1.025 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.056, allocations: 4 kB / 1.025 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.215e-05/1.056, allocations: 7.25 kB / 1.025 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/1.056, allocations: 3.953 kB / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/1.056, allocations: 72.11 kB / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/1.057, allocations: 0.6848 MB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.862e-05/1.057, allocations: 4.125 kB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/1.057, allocations: 11.44 kB / 1.026 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of SimCode: time 3.61e-07/1.057, allocations: 0 / 1.026 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of Templates: time 0.002636/1.059, allocations: 0.6087 MB / 1.027 GB, free: 12.35 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_SmoothLimit.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches