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.471/1.471, allocations: 249.5 MB / 257 MB, free: 6.926 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.00104/0.00104, allocations: 170.1 kB / 316.3 MB, free: 3.324 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.651/1.651, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.001179/0.001179, allocations: 82.61 kB / 0.6714 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.139e-05/2.131e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2583, allocations: 106.3 MB / 0.8852 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8767/1.135, allocations: 132.7 MB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/1.135, allocations: 75.64 kB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003958/1.139, allocations: 1.382 MB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.333e-06/1.139, allocations: 0 / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.394e-06/1.139, allocations: 0 / 1.016 GB, free: 3.93 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.0003518/1.14, allocations: 346.4 kB / 1.017 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/1.14, allocations: 8.031 kB / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/1.14, allocations: 7.938 kB / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/1.14, allocations: 166.9 kB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/1.14, allocations: 0 / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/1.14, allocations: 7.938 kB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.336e-05/1.14, allocations: 7.938 kB / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.47e-05/1.14, allocations: 33.69 kB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/1.14, allocations: 4 kB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/1.14, allocations: 0 / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/1.14, allocations: 0 / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003337/1.141, allocations: 235.5 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.449e-05/1.141, allocations: 25.83 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.363e-05/1.141, allocations: 19.16 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00064/1.141, allocations: 465.5 kB / 1.017 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/1.141, allocations: 30.56 kB / 1.018 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.472e-06/1.141, allocations: 0 / 1.018 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.003157/1.145, allocations: 0.5487 MB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/1.145, allocations: 58.72 kB / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.02e-05/1.145, allocations: 96.12 kB / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/1.145, allocations: 25.7 kB / 1.018 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/1.145, allocations: 95.38 kB / 1.018 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/1.145, allocations: 3.938 kB / 1.018 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/1.145, allocations: 0.75 kB / 1.018 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.145, allocations: 318.8 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.472e-05/1.145, allocations: 3.375 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.455e-05/1.145, allocations: 7.5 kB / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002941/1.148, allocations: 0.515 MB / 1.019 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.148, allocations: 0 / 1.019 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.002919/1.151, allocations: 0.5515 MB / 1.02 GB, free: 228 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/1.151, allocations: 5.875 kB / 1.02 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.151, allocations: 3.938 kB / 1.02 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/1.151, allocations: 4 kB / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-05/1.151, allocations: 11.86 kB / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.151, allocations: 0 / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.719e-05/1.151, allocations: 4 kB / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/1.151, allocations: 0 / 1.02 GB, free: 204 kB / 0.6355 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 7.677e-05/1.151, allocations: 109 kB / 1.02 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/1.151, allocations: 11.92 kB / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003099/1.154, allocations: 0.5547 MB / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/1.154, allocations: 4.031 kB / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.154, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/1.154, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/1.155, allocations: 152.8 kB / 1.02 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.155, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/1.155, allocations: 4 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.155, allocations: 0 / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/1.155, allocations: 3.984 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.155, allocations: 4 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/1.155, allocations: 0 / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003049/1.158, allocations: 0.6388 MB / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/1.158, allocations: 81.06 kB / 1.021 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/1.158, allocations: 8.031 kB / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.446e-05/1.158, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/1.158, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/1.158, allocations: 3.938 kB / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.233e-05/1.158, allocations: 87.06 kB / 1.021 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.71e-07/1.158, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002391/1.158, allocations: 19.94 kB / 1.021 GB, free: 14.5 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.0002177/1.159, allocations: 123.2 kB / 1.021 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.456e-05/1.159, allocations: 18.38 kB / 1.021 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.159, allocations: 2.531 kB / 1.021 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/1.159, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/1.159, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002423/1.159, allocations: 74.56 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/1.159, allocations: 0.6845 MB / 1.022 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.89e-05/1.159, allocations: 8.109 kB / 1.022 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.072e-05/1.159, allocations: 11.44 kB / 1.022 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.159, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of Templates: time 0.002633/1.162, allocations: 0.5759 MB / 1.023 GB, free: 12.97 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