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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_9_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.007122/0.007122, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001208/0.001208, allocations: 195.8 kB / 16.68 MB, free: 5.934 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.352 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.4/2.4, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.03 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2756, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002959/0.2787, allocations: 1.439 MB / 1.089 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004804/0.2792, allocations: 192.3 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.779e-05/0.2792, allocations: 0 / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.2793, allocations: 0 / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.603e-05/0.2793, allocations: 3.938 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.2797, allocations: 47.89 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.597e-05/0.2797, allocations: 27.86 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.226e-05/0.2798, allocations: 4 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.839e-05/0.2799, allocations: 8 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.024e-05/0.2799, allocations: 11.92 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.28, allocations: 4 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.501e-05/0.2801, allocations: 35.91 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.2801, allocations: 7.969 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.2801, allocations: 11.94 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.2803, allocations: 44.11 kB / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2803, allocations: 0 / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2803, allocations: 0 / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2803, allocations: 0 / 1.089 GB, free: 160 kB / 0.8419 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.0004949/0.2808, allocations: 343.4 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.2809, allocations: 8.031 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.584e-05/0.2809, allocations: 34.73 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.2809, allocations: 4.938 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.2811, allocations: 168.3 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.2811, allocations: 8.375 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.2811, allocations: 384 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.2813, allocations: 50.23 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2813, allocations: 3.938 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.2813, allocations: 4 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.2813, allocations: 0 / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.2815, allocations: 35.94 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.2818, allocations: 256.9 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.282, allocations: 42.44 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.895e-05/0.2821, allocations: 24.89 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.86e-05/0.2822, allocations: 81.11 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.2822, allocations: 34.56 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2822, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003562/0.2826, allocations: 85.58 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.2826, allocations: 51.41 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.656e-05/0.2827, allocations: 105.8 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.2827, allocations: 29.64 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.2828, allocations: 84.27 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.2828, allocations: 3.953 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.2828, allocations: 17.72 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.2829, allocations: 314.8 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-05/0.283, allocations: 19.98 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.131e-05/0.2831, allocations: 11.98 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.2833, allocations: 40.89 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2833, allocations: 3.938 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001964/0.2835, allocations: 73.59 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2835, allocations: 4 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2835, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2835, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.249e-05/0.2836, allocations: 11.98 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.2836, allocations: 7.969 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.339e-05/0.2837, allocations: 11.94 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.2837, allocations: 0 / 1.091 GB, free: 13.96 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 6.813e-05/0.2838, allocations: 109.8 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.2838, allocations: 4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.2841, allocations: 68.78 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2841, allocations: 4.031 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2841, allocations: 8.188 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2841, allocations: 0 / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.2842, allocations: 165.6 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2843, allocations: 0 / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.75e-05/0.2843, allocations: 7.984 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2843, allocations: 4 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.2843, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2843, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2843, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.2846, allocations: 167.5 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.2846, allocations: 81.06 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.2847, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.2847, allocations: 7.984 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.2848, allocations: 4 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.2848, allocations: 4.031 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.64e-05/0.2848, allocations: 87.22 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.323e-06/0.2848, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002431/0.2851, allocations: 19.86 kB / 1.092 GB, free: 13.14 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.0005688/0.2857, allocations: 0.7043 MB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.2859, allocations: 39.97 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2859, allocations: 0 / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.443e-05/0.286, allocations: 23.91 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.2863, allocations: 1.094 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.2867, allocations: 144.8 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.287, allocations: 0.6768 MB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.287, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.287, allocations: 11.44 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.287, allocations: 0 / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.3059, allocations: 1.439 MB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.267/7.573, allocations: 4.062 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches