Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_9_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.006642/0.006642, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001481/0.001481, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.499/1.499, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.528/2.528, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 65.02 kB / 0.9508 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3816, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003443/0.3851, allocations: 1.431 MB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005652/0.3857, allocations: 200.3 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.3857, allocations: 0 / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.081e-05/0.3858, allocations: 0 / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.751e-05/0.3859, allocations: 7.922 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.3863, allocations: 35.91 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.347e-05/0.3864, allocations: 23.92 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.3865, allocations: 7.938 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.843e-05/0.3866, allocations: 11.98 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.183e-05/0.3867, allocations: 23.91 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.3867, allocations: 0 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.3868, allocations: 35.97 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.3868, allocations: 0 / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.3869, allocations: 11.94 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.3871, allocations: 43.86 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3871, allocations: 0 / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3871, allocations: 0 / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3871, allocations: 0 / 1.09 GB, free: 15.64 MB / 0.8575 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.0005353/0.3876, allocations: 349.3 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3877, allocations: 12.03 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.3877, allocations: 4.938 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.3879, allocations: 164.3 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3879, allocations: 384 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.3879, allocations: 4.312 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.3881, allocations: 50.23 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3881, allocations: 192 / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.3882, allocations: 7.938 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3882, allocations: 0 / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.3883, allocations: 39.95 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.3887, allocations: 244.9 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.3889, allocations: 46.47 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.234e-05/0.389, allocations: 24.91 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.917e-05/0.3891, allocations: 81.11 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.3891, allocations: 38.55 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.3891, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003568/0.3895, allocations: 85.55 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.3895, allocations: 51.41 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.379e-05/0.3896, allocations: 109.9 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.3896, allocations: 29.7 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.3897, allocations: 80.14 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.3897, allocations: 3.906 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.3897, allocations: 25.64 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3899, allocations: 310.8 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.24e-05/0.3899, allocations: 15.98 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.321e-05/0.39, allocations: 19.98 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.3901, allocations: 40.81 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3902, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001669/0.3903, allocations: 65.61 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3903, allocations: 9.859 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3904, allocations: 4.094 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.3904, allocations: 3.938 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.117e-05/0.3905, allocations: 12 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3905, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.774e-05/0.3905, allocations: 11.92 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.3906, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 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 9.401e-05/0.3907, allocations: 109.8 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.3907, allocations: 4 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.3909, allocations: 76.77 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3909, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3909, allocations: 4 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3909, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.3911, allocations: 161.5 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3911, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.318e-05/0.3912, allocations: 15.86 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3912, allocations: 4 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.3912, allocations: 4.031 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3912, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3912, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.3914, allocations: 163.5 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.3915, allocations: 77.11 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.3915, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.3916, allocations: 12.27 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.3916, allocations: 4 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.3916, allocations: 4 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.3917, allocations: 87.27 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3917, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002187/0.3919, allocations: 8 kB / 1.092 GB, free: 12.67 MB / 0.8575 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.0001842/0.3921, allocations: 107.7 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.3923, allocations: 43.89 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3923, allocations: 0 / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.463e-05/0.3924, allocations: 19.98 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.3927, allocations: 7.938 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.393, allocations: 113.5 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.3933, allocations: 0.6808 MB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.133e-05/0.3933, allocations: 0 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.103e-05/0.3933, allocations: 11.44 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.3933, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of Templates: time 0.002966/0.3963, allocations: 0.5843 MB / 1.094 GB, free: 11.05 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches