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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00107/0.001071, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0009878/0.0009877, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.756/2.756, allocations: 437.7 MB / 0.7117 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004083, allocations: 12 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.786/0.7864, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002067/0.7885, allocations: 1.161 MB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006296/0.7892, allocations: 184.3 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.662e-05/0.7892, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.7893, allocations: 4 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.674e-05/0.7894, allocations: 4 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.7897, allocations: 27.92 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.3e-05/0.7898, allocations: 19.92 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.7899, allocations: 0 / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.814e-05/0.79, allocations: 15.97 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.523e-05/0.7901, allocations: 11.92 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.7901, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.7903, allocations: 31.97 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.7903, allocations: 4 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.7904, allocations: 29.7 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.7905, allocations: 23.95 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.7905, allocations: 3.938 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7905, allocations: 3.938 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.7905, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 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.0007614/0.7913, allocations: 345.3 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.739e-05/0.7914, allocations: 16.03 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/0.7914, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.7917, allocations: 170.9 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.7917, allocations: 4 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.7917, allocations: 0 / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.792, allocations: 57.62 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.792, allocations: 0 / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.792, allocations: 0 / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.7921, allocations: 4 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.7922, allocations: 43.95 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/0.7928, allocations: 256.9 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.7929, allocations: 46.55 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.7931, allocations: 24.91 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.7932, allocations: 77.11 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/0.7933, allocations: 46.56 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.7933, allocations: 3.938 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004335/0.7937, allocations: 97.67 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.7938, allocations: 51.41 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.7939, allocations: 105.8 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.7939, allocations: 25.7 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.794, allocations: 84.14 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.7941, allocations: 3.906 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.7941, allocations: 4 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.7942, allocations: 318.8 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.07e-05/0.7943, allocations: 24.02 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.836e-05/0.7944, allocations: 19.98 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.145e-05/0.7945, allocations: 28.05 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7945, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002006/0.7947, allocations: 81.55 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.7948, allocations: 4 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.7948, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.7948, allocations: 32 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.7949, allocations: 15.98 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.7949, allocations: 4 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/0.795, allocations: 7.984 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.795, allocations: 4 kB / 1.026 GB, free: 12.36 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.7951, allocations: 113.8 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.7952, allocations: 7.859 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.7954, allocations: 88.72 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.7954, allocations: 3.938 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.7955, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.7955, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.7957, allocations: 161.7 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.7957, allocations: 4.031 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.7958, allocations: 11.98 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.7958, allocations: 3.953 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.7958, allocations: 0 / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.7958, allocations: 0 / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7958, allocations: 0 / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.7961, allocations: 179.5 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.7962, allocations: 81.05 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.7962, allocations: 3.953 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.7963, allocations: 11.98 kB / 1.026 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.7963, allocations: 4.031 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.7963, allocations: 0 / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.857e-05/0.7964, allocations: 87.53 kB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7964, allocations: 3.938 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002306/0.7967, allocations: 12 kB / 1.027 GB, free: 11.49 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002396/0.7969, allocations: 103.2 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.7971, allocations: 47.97 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7972, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.122e-05/0.7972, allocations: 27.97 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.7976, allocations: 4 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.798, allocations: 112.7 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.7984, allocations: 0.677 MB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.238e-05/0.7985, allocations: 0 / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.7985, allocations: 7.438 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7985, allocations: 0 / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of Templates: time 0.003318/0.8018, allocations: 0.4997 MB / 1.028 GB, free: 9.961 MB / 0.7794 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches