Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_10_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.001424/0.001424, allocations: 108.4 kB / 16.41 MB, free: 6.453 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.001389/0.001389, allocations: 181.7 kB / 17.34 MB, free: 5.742 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.524/1.524, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.713/2.713, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 67.89 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227/1.228, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.00306/1.231, allocations: 1.452 MB / 1.169 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005398/1.232, allocations: 198.7 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/1.232, allocations: 0 / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.834e-05/1.232, allocations: 0 / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.706e-05/1.232, allocations: 7.922 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/1.232, allocations: 35.91 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.502e-05/1.232, allocations: 19.94 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.908e-05/1.232, allocations: 15.97 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.898e-05/1.233, allocations: 11.94 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/1.233, allocations: 15.92 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/1.233, allocations: 0 / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-05/1.233, allocations: 31.97 kB / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/1.233, allocations: 0 / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/1.233, allocations: 15.92 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/1.233, allocations: 43.88 kB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.233, allocations: 0 / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.834e-06/1.233, allocations: 0 / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.026e-05/1.233, allocations: 0 / 1.169 GB, free: 2.043 MB / 0.8887 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.0005517/1.234, allocations: 347.3 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/1.234, allocations: 8.922 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/1.234, allocations: 0.9375 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/1.234, allocations: 172.3 kB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/1.234, allocations: 384 / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/1.234, allocations: 4.375 kB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/1.234, allocations: 50.23 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/1.234, allocations: 4.188 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/1.234, allocations: 7.922 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/1.234, allocations: 4 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/1.234, allocations: 27.97 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/1.235, allocations: 248.9 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/1.235, allocations: 50.44 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-05/1.235, allocations: 20.91 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.49e-05/1.235, allocations: 85.09 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/1.235, allocations: 30.56 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.235, allocations: 0 / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.00038/1.235, allocations: 89.58 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/1.235, allocations: 55.34 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.092e-05/1.235, allocations: 101.9 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/1.236, allocations: 25.7 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/1.236, allocations: 84.12 kB / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/1.236, allocations: 3.906 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/1.236, allocations: 17.72 kB / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.236, allocations: 315 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-05/1.236, allocations: 15.98 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.425e-05/1.236, allocations: 19.97 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/1.236, allocations: 36.83 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/1.236, allocations: 0 / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002169/1.236, allocations: 81.53 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/1.236, allocations: 8 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/1.236, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.236, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.5e-05/1.236, allocations: 7.984 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/1.237, allocations: 4 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/1.237, allocations: 4 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/1.237, allocations: 0 / 1.171 GB, free: 15.91 MB / 0.9044 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 0.0001573/1.237, allocations: 113.9 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/1.237, allocations: 11.84 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/1.237, allocations: 70.61 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/1.237, allocations: 0 / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/1.237, allocations: 0 / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/1.237, allocations: 81.11 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/1.237, allocations: 256 / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.187e-05/1.237, allocations: 19.95 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/1.237, allocations: 0 / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000275/1.238, allocations: 152.9 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004017/1.238, allocations: 238.8 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.277e-05/1.238, allocations: 19.92 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.981e-05/1.238, allocations: 83.28 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of Backend: time 5.01e-07/1.238, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005007/1.239, allocations: 113.2 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005674/1.239, allocations: 0.5571 MB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of Templates: time 0.00351/1.243, allocations: 0.6777 MB / 1.173 GB, free: 13.68 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches