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.001362/0.001362, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001366, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.488/2.488, allocations: 390.2 MB / 0.6646 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 59.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.889/0.8911, allocations: 140.4 MB / 0.9496 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003264/0.8944, allocations: 1.429 MB / 0.951 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005067/0.8949, allocations: 194.8 kB / 0.9512 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/0.895, allocations: 1.375 kB / 0.9512 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.483e-05/0.895, allocations: 7.922 kB / 0.9512 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.553e-05/0.8951, allocations: 0 / 0.9512 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.8954, allocations: 37.66 kB / 0.9512 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.623e-05/0.8955, allocations: 21.56 kB / 0.9512 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.8956, allocations: 12.11 kB / 0.9512 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.579e-05/0.8957, allocations: 14.86 kB / 0.9512 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.412e-05/0.8957, allocations: 10.52 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.8957, allocations: 2.75 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.945e-05/0.8958, allocations: 33.41 kB / 0.9513 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.8959, allocations: 7.875 kB / 0.9513 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.8959, allocations: 14.95 kB / 0.9513 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.896, allocations: 33.28 kB / 0.9513 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.896, allocations: 1.375 kB / 0.9513 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8961, allocations: 0 / 0.9513 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.8961, allocations: 4 kB / 0.9514 GB, free: 7.672 MB / 0.7169 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.0004113/0.8965, allocations: 348.3 kB / 0.9517 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.8965, allocations: 10.31 kB / 0.9517 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.8966, allocations: 2.406 kB / 0.9517 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.68e-05/0.8967, allocations: 173.4 kB / 0.9519 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.8967, allocations: 1.938 kB / 0.9519 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.8967, allocations: 8.312 kB / 0.9519 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.8969, allocations: 46 kB / 0.9519 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.8969, allocations: 8.172 kB / 0.9519 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.8969, allocations: 5.531 kB / 0.9519 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.8969, allocations: 0 / 0.9519 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.8971, allocations: 30.91 kB / 0.952 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.8974, allocations: 253.4 kB / 0.9522 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.8976, allocations: 44.22 kB / 0.9522 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.329e-05/0.8976, allocations: 22.69 kB / 0.9523 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.752e-05/0.8977, allocations: 82.97 kB / 0.9523 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.8978, allocations: 31.59 kB / 0.9524 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.8978, allocations: 0 / 0.9524 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003727/0.8982, allocations: 88.64 kB / 0.9525 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.8982, allocations: 52.72 kB / 0.9525 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.956e-05/0.8983, allocations: 99.45 kB / 0.9526 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.8983, allocations: 27.02 kB / 0.9526 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.8983, allocations: 85.62 kB / 0.9527 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.8983, allocations: 3.906 kB / 0.9527 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.8984, allocations: 16.44 kB / 0.9527 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.936e-05/0.8984, allocations: 316.2 kB / 0.953 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.203e-05/0.8985, allocations: 17.05 kB / 0.953 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.12e-05/0.8986, allocations: 17.88 kB / 0.9531 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.8988, allocations: 36.2 kB / 0.9531 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8988, allocations: 256 / 0.9531 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001892/0.899, allocations: 84.97 kB / 0.9532 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.899, allocations: 5.094 kB / 0.9532 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.899, allocations: 4 kB / 0.9532 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.899, allocations: 0 / 0.9532 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.414e-05/0.8991, allocations: 10.39 kB / 0.9532 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.8991, allocations: 0 / 0.9532 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.8992, allocations: 3.844 kB / 0.9532 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.8992, allocations: 5.062 kB / 0.9532 GB, free: 5.742 MB / 0.7169 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 5.999e-05/0.8993, allocations: 115.2 kB / 0.9533 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.8993, allocations: 6.453 kB / 0.9533 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.8995, allocations: 78.36 kB / 0.9534 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.8996, allocations: 5.25 kB / 0.9534 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8996, allocations: 0 / 0.9534 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8996, allocations: 0 / 0.9534 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.8997, allocations: 162.9 kB / 0.9536 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.8997, allocations: 3.984 kB / 0.9536 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.564e-05/0.8998, allocations: 6.781 kB / 0.9536 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.8998, allocations: 0 / 0.9536 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.8998, allocations: 1.25 kB / 0.9536 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8998, allocations: 0 / 0.9536 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8998, allocations: 0 / 0.9536 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.9, allocations: 167.8 kB / 0.9537 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.9001, allocations: 86.5 kB / 0.9538 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.9001, allocations: 0 / 0.9538 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/0.9002, allocations: 4.719 kB / 0.9538 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.9002, allocations: 7.922 kB / 0.9538 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.9002, allocations: 1.781 kB / 0.9538 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.561e-05/0.9002, allocations: 83.31 kB / 0.9539 GB, free: 5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9002, allocations: 0 / 0.9539 GB, free: 5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002304/0.9005, allocations: 9.625 kB / 0.9539 GB, free: 5 MB / 0.7169 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.0001728/0.9007, allocations: 117.2 kB / 0.954 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.9009, allocations: 41.38 kB / 0.9541 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.9009, allocations: 0 / 0.9541 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.792e-05/0.901, allocations: 16.45 kB / 0.9541 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.9013, allocations: 11.72 kB / 0.9541 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.9016, allocations: 109 kB / 0.9542 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.9018, allocations: 0.6803 MB / 0.9549 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.588e-05/0.9018, allocations: 1.344 kB / 0.9549 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.9018, allocations: 8.812 kB / 0.9549 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.9018, allocations: 0 / 0.9549 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of Templates: time 0.002836/0.9047, allocations: 0.5729 MB / 0.9554 GB, free: 3.75 MB / 0.7169 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