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.001629/0.001629, allocations: 108 kB / 15.6 MB, free: 132 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.001828/0.001828, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.301/2.301, allocations: 390.3 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6697/0.6711, allocations: 140.4 MB / 0.9497 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002543/0.6737, allocations: 1.428 MB / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004026/0.6741, allocations: 192.2 kB / 0.9513 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.6741, allocations: 0 / 0.9513 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.149e-05/0.6742, allocations: 7.984 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.068e-05/0.6742, allocations: 5.312 kB / 0.9513 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.6745, allocations: 41.64 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.899e-05/0.6746, allocations: 21.56 kB / 0.9514 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.6747, allocations: 6.734 kB / 0.9514 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.348e-05/0.6747, allocations: 10.69 kB / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.1e-05/0.6748, allocations: 12.11 kB / 0.9514 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.6748, allocations: 1.375 kB / 0.9514 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.46e-05/0.6749, allocations: 32.47 kB / 0.9514 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.6749, allocations: 13.3 kB / 0.9514 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.6749, allocations: 10.73 kB / 0.9514 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.6751, allocations: 34.3 kB / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6751, allocations: 0 / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6751, allocations: 0 / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.6751, allocations: 0.8125 kB / 0.9515 GB, free: 7.645 MB / 0.7169 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.0003977/0.6755, allocations: 345.1 kB / 0.9518 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.6755, allocations: 10.22 kB / 0.9518 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.013e-05/0.6756, allocations: 34.75 kB / 0.9519 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.6756, allocations: 10.5 kB / 0.9519 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.831e-05/0.6757, allocations: 170 kB / 0.952 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.6757, allocations: 4.312 kB / 0.952 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.6757, allocations: 5.656 kB / 0.952 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.6759, allocations: 49.7 kB / 0.9521 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.6759, allocations: 5 kB / 0.9521 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.6759, allocations: 0 / 0.9521 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.6759, allocations: 5.438 kB / 0.9521 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.6761, allocations: 34.75 kB / 0.9521 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.6764, allocations: 252.7 kB / 0.9524 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.6765, allocations: 43.64 kB / 0.9524 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.524e-05/0.6766, allocations: 22.78 kB / 0.9524 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.301e-05/0.6767, allocations: 87.62 kB / 0.9525 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.6767, allocations: 32.03 kB / 0.9525 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.6767, allocations: 0 / 0.9525 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003368/0.677, allocations: 80.48 kB / 0.9526 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.6771, allocations: 56.81 kB / 0.9527 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.533e-05/0.6771, allocations: 107 kB / 0.9528 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.6772, allocations: 30.88 kB / 0.9528 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.77e-05/0.6772, allocations: 89.36 kB / 0.9529 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.6772, allocations: 1.344 kB / 0.9529 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.6772, allocations: 11.31 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.521e-05/0.6773, allocations: 316.6 kB / 0.9532 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.039e-05/0.6774, allocations: 16.69 kB / 0.9532 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.078e-05/0.6774, allocations: 21.33 kB / 0.9532 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.6776, allocations: 35.92 kB / 0.9533 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6776, allocations: 3.938 kB / 0.9533 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001739/0.6778, allocations: 68.72 kB / 0.9533 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.6778, allocations: 9.219 kB / 0.9534 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.6778, allocations: 5.5 kB / 0.9534 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.6778, allocations: 0 / 0.9534 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.38e-05/0.6779, allocations: 9.297 kB / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.6779, allocations: 1.094 kB / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.282e-05/0.678, allocations: 3.031 kB / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.678, allocations: 1.688 kB / 0.9534 GB, free: 5.668 MB / 0.7169 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.228e-05/0.678, allocations: 119.5 kB / 0.9535 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.6781, allocations: 1.656 kB / 0.9535 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.6783, allocations: 70.59 kB / 0.9536 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.6783, allocations: 5.344 kB / 0.9536 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6783, allocations: 0 / 0.9536 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.6783, allocations: 0 / 0.9536 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.6784, allocations: 166.8 kB / 0.9537 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6784, allocations: 0 / 0.9537 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.241e-05/0.6785, allocations: 9.594 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.6785, allocations: 1.312 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.6785, allocations: 4.031 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.6785, allocations: 5.391 kB / 0.9537 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6785, allocations: 0 / 0.9537 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.6787, allocations: 158.8 kB / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.6787, allocations: 86.2 kB / 0.954 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.6788, allocations: 5.344 kB / 0.954 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.6788, allocations: 7.75 kB / 0.954 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.6789, allocations: 5.578 kB / 0.954 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.6789, allocations: 0 / 0.954 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.389e-05/0.6789, allocations: 84.06 kB / 0.9541 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.6789, allocations: 0 / 0.9541 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002206/0.6792, allocations: 13.38 kB / 0.9541 GB, free: 4.922 MB / 0.7169 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.000404/0.6796, allocations: 0.7121 MB / 0.9548 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.6798, allocations: 33.31 kB / 0.9548 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.6798, allocations: 0 / 0.9548 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.224e-05/0.6799, allocations: 32.94 kB / 0.9548 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.6801, allocations: 3.625 kB / 0.9548 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.6805, allocations: 128.3 kB / 0.955 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.865e-05/0.6806, allocations: 0.6812 MB / 0.9556 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.268e-05/0.6806, allocations: 4.812 kB / 0.9556 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.6807, allocations: 13.69 kB / 0.9557 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6807, allocations: 4.062 kB / 0.9557 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.6981, allocations: 1.41 MB / 0.957 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.424/8.122, allocations: 2.312 kB / 0.957 GB, free: 2.527 MB / 0.7169 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