Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.355/2.355, allocations: 393.5 MB / 408.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 179.9 kB / 0.4902 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 223.2 MB / 0.7992 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009202/0.0009202, allocations: 103.9 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004227/0.0004228, allocations: 6.906 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2766, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/0.4621, allocations: 150.1 MB / 1.376 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.4624, allocations: 75.95 kB / 1.376 GB, free: 3.328 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00422/0.4667, allocations: 1.355 MB / 1.377 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4667, allocations: 0 / 1.377 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.4667, allocations: 0 / 1.377 GB, free: 1.969 MB / 0.8698 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.0004066/0.4671, allocations: 352.5 kB / 1.378 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.4672, allocations: 11.97 kB / 1.378 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.4672, allocations: 7.906 kB / 1.378 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.4674, allocations: 167 kB / 1.378 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.4674, allocations: 3.984 kB / 1.378 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.4674, allocations: 7.984 kB / 1.378 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.4676, allocations: 49.69 kB / 1.378 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.4676, allocations: 0 / 1.378 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.4676, allocations: 11.92 kB / 1.378 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4677, allocations: 0 / 1.378 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.4678, allocations: 43.97 kB / 1.378 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.4683, allocations: 268.9 kB / 1.378 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.4685, allocations: 44.28 kB / 1.378 GB, free: 0.8711 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.4686, allocations: 85.08 kB / 1.378 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.4686, allocations: 42.56 kB / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.4687, allocations: 0 / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003858/0.469, allocations: 89.78 kB / 1.378 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.4691, allocations: 59.39 kB / 1.378 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.3e-05/0.4692, allocations: 97 kB / 1.378 GB, free: 464 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.4692, allocations: 25.7 kB / 1.379 GB, free: 432 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/0.4693, allocations: 84.05 kB / 1.379 GB, free: 344 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.4693, allocations: 4 kB / 1.379 GB, free: 340 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.4693, allocations: 0 / 1.379 GB, free: 340 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4695, allocations: 322.8 kB / 1.379 GB, free: 8 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.4696, allocations: 19.98 kB / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.136e-05/0.4697, allocations: 23.98 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.305e-05/0.4698, allocations: 19.98 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4698, allocations: 8 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002258/0.47, allocations: 81.56 kB / 1.379 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.4701, allocations: 6.188 kB / 1.379 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.4701, allocations: 0 / 1.379 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4701, allocations: 0 / 1.379 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.4702, allocations: 16.02 kB / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4702, allocations: 0 / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.975e-05/0.4703, allocations: 11.98 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.4703, allocations: 3.938 kB / 1.379 GB, free: 15.82 MB / 0.8855 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 0.0001063/0.4704, allocations: 118.5 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.4705, allocations: 0 / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.4707, allocations: 88.72 kB / 1.379 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4708, allocations: 0 / 1.379 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4708, allocations: 256 / 1.379 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4708, allocations: 0 / 1.379 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.471, allocations: 165.6 kB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.471, allocations: 4 kB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.471, allocations: 16.02 kB / 1.379 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4711, allocations: 0 / 1.379 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.4711, allocations: 0 / 1.379 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4711, allocations: 0 / 1.379 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4711, allocations: 0 / 1.379 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.4714, allocations: 183.4 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.4714, allocations: 81.02 kB / 1.38 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.4714, allocations: 0 / 1.38 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/0.4715, allocations: 11.98 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.4716, allocations: 4 kB / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.4716, allocations: 4.031 kB / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.756e-05/0.4716, allocations: 79.28 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4716, allocations: 0 / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002313/0.4719, allocations: 23.92 kB / 1.38 GB, free: 14.96 MB / 0.8855 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.0002001/0.4721, allocations: 107.2 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002383/0.4723, allocations: 51.95 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4723, allocations: 0 / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.581e-05/0.4724, allocations: 23.98 kB / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.4727, allocations: 3.953 kB / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.473, allocations: 124.6 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.4732, allocations: 0.677 MB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.972e-05/0.4733, allocations: 4 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.4733, allocations: 7.438 kB / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of SimCode: time 5.91e-07/0.4733, allocations: 0 / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.002721/0.476, allocations: 483.7 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothExponential.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches