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.007076/0.007076, allocations: 101.6 kB / 15.73 MB, free: 6.039 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.001627/0.001627, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.441/2.441, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.06 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.257, allocations: 140.4 MB / 1.087 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002414/0.2595, allocations: 1.424 MB / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004018/0.2599, allocations: 196.3 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.26, allocations: 0 / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.26, allocations: 7.938 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.72e-05/0.2601, allocations: 3.984 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.2603, allocations: 43.78 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.023e-05/0.2604, allocations: 19.98 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.23e-05/0.2605, allocations: 4 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.622e-05/0.2606, allocations: 11.98 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.874e-05/0.2606, allocations: 11.92 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.2606, allocations: 3.938 kB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.293e-05/0.2607, allocations: 31.97 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.2607, allocations: 15.92 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.2608, allocations: 15.94 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.2609, allocations: 39.88 kB / 1.089 GB, free: 136 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.2609, allocations: 0 / 1.089 GB, free: 136 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2609, allocations: 0 / 1.089 GB, free: 136 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.2609, allocations: 0 / 1.089 GB, free: 136 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.0004291/0.2613, allocations: 346.3 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.2614, allocations: 12.02 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.2614, allocations: 34.73 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.532e-05/0.2615, allocations: 8.938 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.658e-05/0.2616, allocations: 160.4 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.2616, allocations: 384 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.2616, allocations: 4.375 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.2618, allocations: 50.23 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.2618, allocations: 3.938 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.2618, allocations: 4 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.2618, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.262, allocations: 43.89 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.2623, allocations: 244.9 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.2624, allocations: 42.48 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.683e-05/0.2625, allocations: 24.84 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.805e-05/0.2626, allocations: 85.11 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.2627, allocations: 34.5 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.2627, allocations: 0 / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003478/0.263, allocations: 81.64 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.2631, allocations: 51.41 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.577e-05/0.2631, allocations: 106 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.2632, allocations: 29.7 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.2632, allocations: 80.7 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.2632, allocations: 12.12 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.2633, allocations: 13.72 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.22e-05/0.2634, allocations: 318.8 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.514e-05/0.2635, allocations: 15.98 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-05/0.2635, allocations: 15.98 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.2637, allocations: 45 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2637, allocations: 3.938 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002059/0.2639, allocations: 69.67 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2639, allocations: 4 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.264, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.264, allocations: 4.094 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.562e-05/0.2641, allocations: 15.92 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.2641, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/0.2641, allocations: 7.984 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.2642, allocations: 0 / 1.091 GB, free: 13.95 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.503e-05/0.2642, allocations: 113.8 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.2642, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.2645, allocations: 84.62 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2645, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2645, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.2645, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.2647, allocations: 161.6 kB / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2647, allocations: 0 / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.054e-05/0.2647, allocations: 11.98 kB / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2647, allocations: 0 / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.2648, allocations: 0 / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2648, allocations: 7.969 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2648, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.265, allocations: 167.4 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.2651, allocations: 77.11 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.2651, allocations: 4 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.2652, allocations: 7.984 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.2652, allocations: 4.031 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.2652, allocations: 3.984 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.966e-05/0.2652, allocations: 87.27 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2653, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002313/0.2655, allocations: 12 kB / 1.092 GB, free: 13.12 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.0005526/0.266, allocations: 0.7024 MB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.2663, allocations: 43.89 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2663, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.711e-05/0.2664, allocations: 19.98 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.2667, allocations: 4.156 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.2671, allocations: 148.6 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.2673, allocations: 0.6768 MB / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.309e-05/0.2674, allocations: 0 / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.2674, allocations: 11.44 kB / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of SimCode: time 1.603e-06/0.2674, allocations: 0 / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.2842, allocations: 1.444 MB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.158/7.442, allocations: 9.531 kB / 1.095 GB, free: 10.07 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