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.008407/0.008407, allocations: 101.2 kB / 15.73 MB, free: 5.574 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.001483/0.001483, allocations: 197.2 kB / 16.67 MB, free: 5.512 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.371/2.371, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 71.89 kB / 0.9508 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.052, allocations: 140.4 MB / 1.088 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003128/1.056, allocations: 1.43 MB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005425/1.056, allocations: 197.3 kB / 1.089 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.054e-05/1.056, allocations: 0 / 1.089 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.457e-05/1.056, allocations: 4.5 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.022e-05/1.056, allocations: 12.95 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/1.057, allocations: 38.33 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.78e-05/1.057, allocations: 19.88 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/1.057, allocations: 9.109 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.93e-05/1.057, allocations: 9.109 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.108e-05/1.057, allocations: 14.42 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/1.057, allocations: 6.469 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/1.057, allocations: 32.36 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.407e-05/1.057, allocations: 6.047 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/1.057, allocations: 15.61 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/1.057, allocations: 44.02 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.057, allocations: 0 / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.933e-06/1.057, allocations: 0 / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.698e-06/1.057, allocations: 0.5625 kB / 1.09 GB, free: 4.254 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.0004971/1.058, allocations: 347.7 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/1.058, allocations: 9.156 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/1.058, allocations: 6.875 kB / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.411e-05/1.058, allocations: 163 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/1.058, allocations: 6.234 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/1.058, allocations: 1.5 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/1.058, allocations: 48.19 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/1.058, allocations: 1.062 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/1.058, allocations: 4.734 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/1.058, allocations: 1.156 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/1.059, allocations: 32.42 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/1.059, allocations: 256.1 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/1.059, allocations: 44.45 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.894e-05/1.059, allocations: 23.83 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/1.059, allocations: 81.14 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/1.059, allocations: 39.08 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/1.059, allocations: 0.9375 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003969/1.06, allocations: 83.84 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/1.06, allocations: 53.06 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.313e-05/1.06, allocations: 106.1 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/1.06, allocations: 26.27 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/1.06, allocations: 90.8 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/1.06, allocations: 5.594 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/1.06, allocations: 12.62 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.187e-05/1.06, allocations: 316.7 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.581e-05/1.06, allocations: 14.64 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.963e-05/1.06, allocations: 18.75 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/1.061, allocations: 41.52 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.061, allocations: 0 / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001811/1.061, allocations: 71.58 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/1.061, allocations: 8.688 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/1.061, allocations: 0.5625 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.061, allocations: 0 / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.488e-05/1.061, allocations: 9.062 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.061, allocations: 8.625 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/1.061, allocations: 5.812 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/1.061, allocations: 1.953 kB / 1.092 GB, free: 2.438 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 5.919e-05/1.061, allocations: 115.4 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/1.061, allocations: 2.281 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/1.061, allocations: 77.56 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.061, allocations: 5.812 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.061, allocations: 0 / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.061, allocations: 0.75 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/1.062, allocations: 163.4 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.062, allocations: 1.406 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-05/1.062, allocations: 8.453 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.062, allocations: 0.7031 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/1.062, allocations: 5 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.062, allocations: 0 / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.062, allocations: 1.891 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/1.062, allocations: 166 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/1.062, allocations: 78.66 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/1.062, allocations: 2.031 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.551e-05/1.062, allocations: 5.375 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/1.062, allocations: 2.875 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/1.062, allocations: 8.656 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.499e-05/1.062, allocations: 89.84 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.062, allocations: 0 / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002349/1.062, allocations: 9.375 kB / 1.092 GB, free: 1.734 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.0001689/1.062, allocations: 104.6 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000239/1.063, allocations: 36.22 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.063, allocations: 4.062 kB / 1.092 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.87e-05/1.063, allocations: 19.95 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/1.063, allocations: 6.266 kB / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/1.063, allocations: 124.9 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/1.064, allocations: 0.6762 MB / 1.093 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.25e-05/1.064, allocations: 1.766 kB / 1.093 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/1.064, allocations: 13.41 kB / 1.093 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/1.064, allocations: 0 / 1.093 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of Templates: time 0.003098/1.067, allocations: 0.5912 MB / 1.094 GB, free: 0.7148 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