Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005648/0.005648, allocations: 99.08 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 202 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.878/2.878, allocations: 469.8 MB / 0.7425 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 68.08 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3509, allocations: 159.1 MB / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002714/0.3536, allocations: 1.453 MB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004682/0.3541, allocations: 191.4 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.515e-05/0.3541, allocations: 4 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.3542, allocations: 3.938 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.786e-05/0.3542, allocations: 0 / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.3545, allocations: 31.91 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.871e-05/0.3546, allocations: 35.86 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.81e-05/0.3547, allocations: 7.984 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.337e-05/0.3547, allocations: 7.984 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.316e-05/0.3547, allocations: 11.94 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.3548, allocations: 0 / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.045e-05/0.3549, allocations: 39.95 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.3549, allocations: 4 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.3549, allocations: 3.938 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.355, allocations: 51.73 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.355, allocations: 4 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.355, allocations: 0 / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.355, allocations: 4 kB / 1.222 GB, free: 11.9 MB / 0.9825 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.0004703/0.3555, allocations: 339.4 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3555, allocations: 8.031 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.3556, allocations: 12.89 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.3557, allocations: 160.4 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.3557, allocations: 384 / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.3557, allocations: 4.375 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.3559, allocations: 54.23 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3559, allocations: 192 / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3559, allocations: 3.938 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3559, allocations: 0 / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.3561, allocations: 39.89 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003262/0.3564, allocations: 241 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.3566, allocations: 50.47 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.497e-05/0.3567, allocations: 20.91 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.553e-05/0.3567, allocations: 81.11 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.3568, allocations: 30.56 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.3568, allocations: 0 / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003662/0.3571, allocations: 93.53 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.3572, allocations: 51.41 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.972e-05/0.3573, allocations: 109.8 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.3573, allocations: 29.64 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.3573, allocations: 84.08 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.3573, allocations: 11.89 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.3574, allocations: 13.72 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3575, allocations: 319 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.379e-05/0.3576, allocations: 19.98 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.796e-05/0.3576, allocations: 11.98 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.3578, allocations: 48.75 kB / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3578, allocations: 0 / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001989/0.358, allocations: 69.67 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.358, allocations: 4 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.358, allocations: 0 / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.358, allocations: 3.984 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.812e-05/0.3581, allocations: 8 kB / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3581, allocations: 0 / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.3582, allocations: 7.984 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.3582, allocations: 32 / 1.224 GB, free: 9.762 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.207e-05/0.3583, allocations: 113.8 kB / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.3583, allocations: 11.95 kB / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.3585, allocations: 68.72 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3585, allocations: 4 kB / 1.224 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3585, allocations: 3.984 kB / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3585, allocations: 0 / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.3587, allocations: 165.6 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3587, allocations: 0 / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.796e-05/0.3587, allocations: 11.98 kB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3587, allocations: 0 / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.3588, allocations: 0 / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3588, allocations: 0 / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3588, allocations: 0 / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.359, allocations: 171.4 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.359, allocations: 77.11 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.359, allocations: 4 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.3591, allocations: 4.234 kB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.3592, allocations: 8 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.3592, allocations: 4 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.3592, allocations: 87.2 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3592, allocations: 0 / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002297/0.3594, allocations: 8.031 kB / 1.225 GB, free: 8.938 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002158/0.3597, allocations: 119.2 kB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002104/0.3599, allocations: 35.95 kB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3599, allocations: 0 / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.796e-05/0.3599, allocations: 19.92 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.3602, allocations: 16 kB / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.3605, allocations: 117.4 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.3607, allocations: 0.6768 MB / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.099e-05/0.3607, allocations: 0 / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.3608, allocations: 7.438 kB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3608, allocations: 0 / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of Templates: time 0.002924/0.3637, allocations: 0.5744 MB / 1.226 GB, free: 7.316 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches