Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 107.6 kB / 18.95 MB, free: 2.809 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002416/0.002416, allocations: 214.4 kB / 22.25 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.455/3.455, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 67.59 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3885, allocations: 176.1 MB / 1.325 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00311/0.3917, allocations: 1.49 MB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004822/0.3921, allocations: 135.6 kB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.3922, allocations: 0 / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.23e-05/0.3922, allocations: 11.94 kB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.932e-05/0.3923, allocations: 7.922 kB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.3925, allocations: 31.91 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.3927, allocations: 39.86 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3928, allocations: 16.27 kB / 1.327 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.3929, allocations: 19.91 kB / 1.327 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.864e-05/0.393, allocations: 19.92 kB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.393, allocations: 4 kB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.303e-05/0.3931, allocations: 27.98 kB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.535e-05/0.3931, allocations: 11.98 kB / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.3931, allocations: 19.88 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.3933, allocations: 67.72 kB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3933, allocations: 0 / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3933, allocations: 0 / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.3933, allocations: 0 / 1.327 GB, free: 448 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005409/0.3938, allocations: 290.1 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.3939, allocations: 8.031 kB / 1.327 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.461e-05/0.3939, allocations: 38.73 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.395, allocations: 208.6 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.3952, allocations: 118.4 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.3952, allocations: 12.19 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.3952, allocations: 4.375 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005987/0.3958, allocations: 194 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3958, allocations: 3.938 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.3958, allocations: 0 / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.3958, allocations: 4 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008719/0.3967, allocations: 275.6 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.3978, allocations: 400.4 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.3989, allocations: 286.2 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.3993, allocations: 96.8 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.3993, allocations: 4 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.3993, allocations: 30.56 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.3993, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.001209/0.4005, allocations: 313.2 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.4006, allocations: 55.39 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.4007, allocations: 117.8 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.4007, allocations: 29.7 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.4008, allocations: 88.14 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.4008, allocations: 7.953 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.4009, allocations: 21.7 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4011, allocations: 318.8 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.4014, allocations: 95.86 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.4018, allocations: 99.88 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006946/0.4025, allocations: 169.3 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4025, allocations: 0 / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007604/0.4032, allocations: 221.3 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4033, allocations: 8 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4033, allocations: 3.938 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.4033, allocations: 0 / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.4035, allocations: 35.94 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.4035, allocations: 4 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.4037, allocations: 39.83 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.4038, allocations: 4 kB / 1.33 GB, free: 12.71 MB / 1.029 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 (3): * Single equations (assignments): 3 * 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 0.0001074/0.4039, allocations: 119.4 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.4039, allocations: 3.953 kB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.404, allocations: 12 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.404, allocations: 0 / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.404, allocations: 4 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.404, allocations: 4 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.4042, allocations: 168.6 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.4042, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.4044, allocations: 31.89 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.4044, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.4044, allocations: 4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4045, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.4045, allocations: 3.984 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000836/0.4053, allocations: 315.2 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.807e-05/0.4053, allocations: 8 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.4053, allocations: 4 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.4056, allocations: 23.95 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.4056, allocations: 11.98 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.4056, allocations: 0 / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.022e-05/0.4057, allocations: 95.27 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4057, allocations: 0 / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000261/0.4059, allocations: 19.94 kB / 1.331 GB, free: 11.82 MB / 1.029 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 (3): * Single equations (assignments): 3 * 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.001184/0.4071, allocations: 0.8343 MB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007852/0.4079, allocations: 195.7 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4079, allocations: 0 / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.4083, allocations: 108.1 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.4085, allocations: 7.922 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003804/0.4123, allocations: 1.839 MB / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.924e-05/0.4124, allocations: 75.33 kB / 1.334 GB, free: 8.645 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.808e-05/0.4125, allocations: 23.92 kB / 1.334 GB, free: 8.621 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.057e-05/0.4126, allocations: 15.44 kB / 1.334 GB, free: 8.605 MB / 1.029 GB Notification: Performance of SimCode: time 6.31e-07/0.4126, allocations: 0 / 1.334 GB, free: 8.605 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03188/0.4445, allocations: 2.553 MB / 1.337 GB, free: 6.191 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.77, allocations: 1.719 kB / 1.337 GB, free: 6.191 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.075218272861093]