Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SmoothLimit,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit",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.004207/0.004207, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001493/0.001493, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.669/2.669, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.89 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6381/0.64, allocations: 159.1 MB / 1.22 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.00246/0.6425, allocations: 1.453 MB / 1.222 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008829/0.6434, allocations: 0.5572 MB / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.989e-05/0.6434, allocations: 0 / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.837e-05/0.6435, allocations: 7.922 kB / 1.222 GB, free: 16 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.66e-05/0.6435, allocations: 11.94 kB / 1.222 GB, free: 4 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.6438, allocations: 43.94 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.231e-05/0.6439, allocations: 27.75 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.6e-05/0.6439, allocations: 8 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.387e-05/0.644, allocations: 15.98 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/0.6441, allocations: 15.91 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.6441, allocations: 0 / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.6442, allocations: 51.97 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.6442, allocations: 15.92 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.6443, allocations: 11.94 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.6444, allocations: 62.47 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6444, allocations: 3.938 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.618e-06/0.6444, allocations: 4 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.6445, allocations: 0 / 1.222 GB, free: 15.75 MB / 0.9512 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.0004211/0.6449, allocations: 352.2 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.6449, allocations: 8.031 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.645, allocations: 34.75 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.025e-05/0.645, allocations: 4.938 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.6451, allocations: 176.3 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.6452, allocations: 4.312 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.6452, allocations: 4.375 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.6453, allocations: 45.8 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.6453, allocations: 0 / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.6453, allocations: 0 / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.6453, allocations: 0 / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.675e-05/0.6454, allocations: 23.92 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.6458, allocations: 268.9 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.786e-05/0.6459, allocations: 26.58 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.6459, allocations: 20.91 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008454/0.6468, allocations: 477.4 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.6468, allocations: 30.56 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.6468, allocations: 0 / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002272/0.647, allocations: 65.58 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.6471, allocations: 51.41 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.801e-05/0.6472, allocations: 114 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.6472, allocations: 25.7 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.6473, allocations: 88.12 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.6473, allocations: 7.953 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.6473, allocations: 13.72 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.6475, allocations: 322.8 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.128e-05/0.6475, allocations: 4 kB / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.875e-05/0.6476, allocations: 15.98 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.222e-05/0.6476, allocations: 28.86 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.6477, allocations: 0 / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001229/0.6478, allocations: 53.67 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.6478, allocations: 4 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.6478, allocations: 0 / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.6478, allocations: 0 / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.992e-05/0.6479, allocations: 8 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.6479, allocations: 4.031 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.6479, allocations: 3.984 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.648, allocations: 0 / 1.225 GB, free: 13.19 MB / 0.9512 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 8.109e-05/0.648, allocations: 120.4 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.6481, allocations: 7.891 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.6482, allocations: 65.14 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.6483, allocations: 7.938 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.6483, allocations: 0 / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.6483, allocations: 4.031 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.6485, allocations: 161.6 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.6485, allocations: 0 / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.6485, allocations: 8 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.6485, allocations: 0 / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.6485, allocations: 0 / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6485, allocations: 0 / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6485, allocations: 0 / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.6487, allocations: 159.4 kB / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.6488, allocations: 85.06 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.6488, allocations: 0 / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.496e-05/0.6489, allocations: 7.984 kB / 1.225 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.6489, allocations: 4 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.6489, allocations: 0 / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.214e-05/0.649, allocations: 91.58 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.649, allocations: 0 / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002354/0.6492, allocations: 19.92 kB / 1.225 GB, free: 12.36 MB / 0.9512 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.000526/0.6498, allocations: 0.6973 MB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.6499, allocations: 27.92 kB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6499, allocations: 4.094 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.809e-05/0.65, allocations: 15.98 kB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.6502, allocations: 0 / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.6506, allocations: 164 kB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.6509, allocations: 0.6806 MB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.2e-05/0.6509, allocations: 7.938 kB / 1.227 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.651, allocations: 7.438 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.651, allocations: 4.062 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.6724, allocations: 1.615 MB / 1.228 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/8.211, allocations: 8.469 kB / 1.228 GB, free: 9.109 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches