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/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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001413, allocations: 112.1 kB / 16.42 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.00159/0.00159, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.654/2.654, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 67.91 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.048, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003343/1.052, allocations: 1.436 MB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005501/1.052, allocations: 195.4 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.96e-05/1.052, allocations: 0 / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/1.052, allocations: 7.922 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.378e-05/1.052, allocations: 7.938 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/1.053, allocations: 35.91 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.955e-05/1.053, allocations: 23.92 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/1.053, allocations: 7.984 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.119e-05/1.053, allocations: 11.94 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.697e-05/1.053, allocations: 11.98 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/1.053, allocations: 0 / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/1.053, allocations: 31.97 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/1.053, allocations: 11.92 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/1.053, allocations: 7.938 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/1.054, allocations: 43.94 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.054, allocations: 0 / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.533e-06/1.054, allocations: 0 / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.623e-06/1.054, allocations: 0 / 1.21 GB, free: 11.78 MB / 0.9356 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.0005664/1.054, allocations: 351.2 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/1.054, allocations: 8.031 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/1.054, allocations: 4.938 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/1.054, allocations: 164.4 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/1.054, allocations: 384 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/1.054, allocations: 12.31 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/1.055, allocations: 54.16 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.055, allocations: 192 / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/1.055, allocations: 7.938 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/1.055, allocations: 0 / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/1.055, allocations: 31.97 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/1.055, allocations: 256.9 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/1.056, allocations: 42.44 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.451e-05/1.056, allocations: 20.91 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002022/1.056, allocations: 85.09 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/1.056, allocations: 30.56 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/1.056, allocations: 4 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.000375/1.056, allocations: 81.64 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/1.056, allocations: 51.41 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.026e-05/1.056, allocations: 97.86 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/1.056, allocations: 33.69 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/1.056, allocations: 80.14 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/1.056, allocations: 8.031 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/1.057, allocations: 17.72 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002417/1.057, allocations: 310.8 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.513e-05/1.057, allocations: 23.91 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.877e-05/1.057, allocations: 15.98 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/1.057, allocations: 41.14 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.057, allocations: 0 / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002766/1.057, allocations: 73.59 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/1.057, allocations: 4 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.057, allocations: 0 / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/1.057, allocations: 0 / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/1.058, allocations: 15.98 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/1.058, allocations: 0 / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.712e-05/1.058, allocations: 15.91 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/1.058, allocations: 0 / 1.212 GB, free: 9.637 MB / 0.9356 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.741e-05/1.058, allocations: 109.8 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/1.058, allocations: 11.84 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/1.058, allocations: 70.61 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.058, allocations: 0 / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.058, allocations: 8.031 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/1.058, allocations: 77.11 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/1.058, allocations: 0 / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/1.058, allocations: 7.984 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/1.058, allocations: 0 / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002386/1.058, allocations: 160.8 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002621/1.059, allocations: 238.8 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.582e-05/1.059, allocations: 19.98 kB / 1.213 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.963e-05/1.059, allocations: 83.28 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of Backend: time 2.71e-07/1.059, allocations: 0 / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006161/1.06, allocations: 112.2 kB / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of SimCode: time 0.000724/1.06, allocations: 0.5531 MB / 1.213 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of Templates: time 0.003344/1.064, allocations: 0.6959 MB / 1.214 GB, free: 7.395 MB / 0.9356 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches