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.25/2.25, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001084/0.001084, allocations: 168.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.0008753/0.0008754, allocations: 99.75 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.582e-05/3.592e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3037, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9377/1.242, allocations: 150.1 MB / 1.365 GB, free: 3.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/1.242, allocations: 73.39 kB / 1.365 GB, free: 3.941 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003902/1.246, allocations: 1.353 MB / 1.367 GB, free: 2.754 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.423e-06/1.246, allocations: 0 / 1.367 GB, free: 2.754 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.026e-06/1.246, allocations: 4 kB / 1.367 GB, free: 2.75 MB / 0.823 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.0004086/1.246, allocations: 342.1 kB / 1.367 GB, free: 2.375 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/1.246, allocations: 16.03 kB / 1.367 GB, free: 2.359 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/1.246, allocations: 0.625 kB / 1.367 GB, free: 2.359 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/1.246, allocations: 182.7 kB / 1.367 GB, free: 2.145 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/1.246, allocations: 0 / 1.367 GB, free: 2.145 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/1.246, allocations: 0 / 1.367 GB, free: 2.145 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.965e-05/1.247, allocations: 36.08 kB / 1.367 GB, free: 2.109 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/1.247, allocations: 3.938 kB / 1.367 GB, free: 2.105 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/1.247, allocations: 4 kB / 1.367 GB, free: 2.102 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/1.247, allocations: 0 / 1.367 GB, free: 2.102 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.649e-05/1.247, allocations: 11.8 kB / 1.367 GB, free: 2.094 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/1.247, allocations: 280.2 kB / 1.368 GB, free: 1.781 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.711e-05/1.247, allocations: 22.52 kB / 1.368 GB, free: 1.754 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/1.247, allocations: 8.922 kB / 1.368 GB, free: 1.742 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.983e-05/1.247, allocations: 92.22 kB / 1.368 GB, free: 1.637 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/1.247, allocations: 30.56 kB / 1.368 GB, free: 1.598 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.247, allocations: 0 / 1.368 GB, free: 1.598 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.00016/1.248, allocations: 41.27 kB / 1.368 GB, free: 1.555 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/1.248, allocations: 55.41 kB / 1.368 GB, free: 1.488 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.654e-05/1.248, allocations: 100.8 kB / 1.368 GB, free: 1.387 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/1.248, allocations: 25.7 kB / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/1.248, allocations: 80.14 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/1.248, allocations: 15.25 kB / 1.368 GB, free: 1.262 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/1.248, allocations: 0 / 1.368 GB, free: 1.262 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001117/1.248, allocations: 310.8 kB / 1.368 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/1.248, allocations: 7.812 kB / 1.368 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.412e-05/1.248, allocations: 4 kB / 1.368 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.383e-05/1.248, allocations: 11.36 kB / 1.368 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.248, allocations: 0 / 1.368 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.885e-05/1.248, allocations: 41.14 kB / 1.368 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.248, allocations: 12.09 kB / 1.368 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.248, allocations: 0 / 1.368 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/1.248, allocations: 0 / 1.368 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.861e-05/1.248, allocations: 11.98 kB / 1.368 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/1.248, allocations: 0 / 1.368 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.397e-05/1.248, allocations: 11.98 kB / 1.368 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/1.248, allocations: 3.953 kB / 1.368 GB, free: 0.8516 MB / 0.823 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 6.242e-05/1.248, allocations: 108.9 kB / 1.368 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/1.248, allocations: 3.906 kB / 1.368 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/1.249, allocations: 51 kB / 1.369 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/1.249, allocations: 0 / 1.369 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.249, allocations: 0.875 kB / 1.369 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.249, allocations: 3.984 kB / 1.369 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/1.249, allocations: 164.1 kB / 1.369 GB, free: 492 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.249, allocations: 7.922 kB / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.664e-05/1.249, allocations: 12.03 kB / 1.369 GB, free: 472 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/1.249, allocations: 0 / 1.369 GB, free: 472 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/1.249, allocations: 256 / 1.369 GB, free: 472 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/1.249, allocations: 4 kB / 1.369 GB, free: 468 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/1.249, allocations: 3.938 kB / 1.369 GB, free: 464 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/1.249, allocations: 142.4 kB / 1.369 GB, free: 312 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/1.249, allocations: 77.11 kB / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/1.249, allocations: 4 kB / 1.369 GB, free: 212 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/1.249, allocations: 12.02 kB / 1.369 GB, free: 200 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/1.249, allocations: 0 / 1.369 GB, free: 200 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/1.249, allocations: 4 kB / 1.369 GB, free: 196 kB / 0.823 GB Notification: Performance of sorting global known variables: time 5.676e-05/1.249, allocations: 86.7 kB / 1.369 GB, free: 112 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.249, allocations: 0 / 1.369 GB, free: 112 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002248/1.25, allocations: 15.94 kB / 1.369 GB, free: 96 kB / 0.823 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.0002078/1.25, allocations: 111.2 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.294e-05/1.25, allocations: 19.31 kB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.25, allocations: 0 / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.619e-05/1.25, allocations: 7.375 kB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/1.25, allocations: 8.969 kB / 1.369 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002178/1.25, allocations: 64.34 kB / 1.369 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/1.251, allocations: 0.6809 MB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.596e-05/1.251, allocations: 8.75 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/1.251, allocations: 7.438 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/1.251, allocations: 3.938 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of Templates: time 0.002555/1.253, allocations: 480.2 kB / 1.37 GB, free: 14.68 MB / 0.8386 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