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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, 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.001478/0.001478, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.663/2.663, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 64.39 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2966, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002549/0.2992, allocations: 1.447 MB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003527/0.2995, allocations: 183.5 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.2996, allocations: 11.94 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.409e-05/0.2996, allocations: 3.938 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.618e-05/0.2997, allocations: 3.938 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.2999, allocations: 39.88 kB / 1.055 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.076e-05/0.2999, allocations: 27.88 kB / 1.055 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.651e-05/0.3, allocations: 3.984 kB / 1.055 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.004e-05/0.3, allocations: 8 kB / 1.055 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.32e-05/0.3001, allocations: 15.92 kB / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.3001, allocations: 4 kB / 1.055 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.651e-05/0.3002, allocations: 43.95 kB / 1.055 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.3002, allocations: 0 / 1.055 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.3002, allocations: 15.92 kB / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.396e-05/0.3003, allocations: 31.89 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3003, allocations: 0 / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3003, allocations: 0 / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.3004, allocations: 0 / 1.055 GB, free: 6.418 MB / 0.8106 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.0003432/0.3007, allocations: 347.7 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.3007, allocations: 12.62 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.394e-05/0.3008, allocations: 34.75 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.78e-05/0.3008, allocations: 0.9375 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.847e-05/0.3009, allocations: 172.4 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.3009, allocations: 4.375 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.3009, allocations: 384 / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.3011, allocations: 50.19 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3011, allocations: 7.922 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.3011, allocations: 0 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3011, allocations: 3.984 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.3013, allocations: 35.97 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.3015, allocations: 245 kB / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.3016, allocations: 38.5 kB / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.527e-05/0.3017, allocations: 32.84 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.446e-05/0.3018, allocations: 85.09 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.3018, allocations: 30.56 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3019, allocations: 0 / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003129/0.3022, allocations: 85.55 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.3022, allocations: 51.41 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.535e-05/0.3023, allocations: 106 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.3023, allocations: 29.7 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.3023, allocations: 84.12 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.3023, allocations: 3.906 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.3024, allocations: 21.66 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.06e-05/0.3025, allocations: 310.8 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.022e-05/0.3025, allocations: 23.86 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-05/0.3026, allocations: 23.97 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.3028, allocations: 32.83 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.319e-06/0.3028, allocations: 7.938 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001864/0.303, allocations: 65.66 kB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.303, allocations: 8 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.303, allocations: 4.094 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.303, allocations: 0 / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.373e-05/0.3031, allocations: 7.984 kB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.3031, allocations: 0 / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.3032, allocations: 4 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.3032, allocations: 7.938 kB / 1.057 GB, free: 4.227 MB / 0.8106 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.552e-05/0.3032, allocations: 113.7 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.3033, allocations: 3.984 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.3035, allocations: 76.78 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3035, allocations: 0 / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3035, allocations: 0 / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.3035, allocations: 0 / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.3036, allocations: 161.6 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3036, allocations: 3.984 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.372e-05/0.3037, allocations: 4 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3037, allocations: 0 / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.3037, allocations: 4.031 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3037, allocations: 4 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3037, allocations: 0 / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.304, allocations: 171.3 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.304, allocations: 81.09 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.304, allocations: 0 / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.3041, allocations: 8.281 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.3041, allocations: 3.984 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.3041, allocations: 8 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.235e-05/0.3042, allocations: 83.28 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3042, allocations: 0 / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000218/0.3044, allocations: 8 kB / 1.057 GB, free: 3.41 MB / 0.8106 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.0005/0.3049, allocations: 0.7123 MB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.3051, allocations: 35.97 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3051, allocations: 0 / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.182e-05/0.3052, allocations: 20.08 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.3054, allocations: 11.92 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.3058, allocations: 147 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.306, allocations: 0.6768 MB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.035e-05/0.306, allocations: 4 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.3061, allocations: 7.438 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.3061, allocations: 4.062 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5679/0.8739, allocations: 1.418 MB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.733, allocations: 12.69 kB / 1.06 GB, free: 356 kB / 0.8106 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > 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