Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0019/0.0019, allocations: 110 kB / 16.46 MB, free: 6.453 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.002264/0.002264, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.464/1.464, allocations: 230.6 MB / 252.8 MB, free: 8.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.825/2.825, allocations: 476.7 MB / 0.7672 GB, free: 5.211 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_11_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.00207/0.00207, allocations: 63.91 kB / 1.112 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9948/0.9969, allocations: 169.9 MB / 1.278 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002871/0.9998, allocations: 1.483 MB / 1.28 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004845/1, allocations: 147.5 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/1, allocations: 0 / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.972e-05/1, allocations: 11.92 kB / 1.28 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.262e-05/1, allocations: 4 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/1.001, allocations: 27.91 kB / 1.28 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/1.001, allocations: 43.8 kB / 1.28 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/1.001, allocations: 19.97 kB / 1.28 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.112e-05/1.001, allocations: 19.92 kB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.192e-05/1.001, allocations: 23.92 kB / 1.28 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/1.001, allocations: 4 kB / 1.28 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/1.001, allocations: 27.97 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.698e-05/1.001, allocations: 12 kB / 1.28 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/1.001, allocations: 19.88 kB / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/1.001, allocations: 69.55 kB / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.001, allocations: 0 / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/1.001, allocations: 0 / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.928e-06/1.001, allocations: 0 / 1.28 GB, free: 11.54 MB / 0.9825 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.0006131/1.002, allocations: 363.2 kB / 1.28 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/1.002, allocations: 8.031 kB / 1.28 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.373e-05/1.002, allocations: 34.75 kB / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/1.003, allocations: 216.5 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/1.003, allocations: 168.3 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/1.003, allocations: 384 / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/1.003, allocations: 16.3 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000616/1.004, allocations: 201.7 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.004, allocations: 0 / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/1.004, allocations: 7.938 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.004, allocations: 4 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009218/1.005, allocations: 283.6 kB / 1.281 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/1.006, allocations: 429.4 kB / 1.282 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/1.007, allocations: 286.2 kB / 1.282 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/1.008, allocations: 104.8 kB / 1.282 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/1.008, allocations: 0 / 1.282 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/1.008, allocations: 30.56 kB / 1.282 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/1.008, allocations: 0 / 1.282 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.001347/1.009, allocations: 313.2 kB / 1.282 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/1.009, allocations: 55.41 kB / 1.283 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/1.009, allocations: 117.8 kB / 1.283 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/1.009, allocations: 29.7 kB / 1.283 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.465e-05/1.009, allocations: 92.03 kB / 1.283 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/1.009, allocations: 7.953 kB / 1.283 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/1.009, allocations: 25.7 kB / 1.283 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000176/1.01, allocations: 314.8 kB / 1.283 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/1.01, allocations: 95.88 kB / 1.283 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/1.01, allocations: 95.88 kB / 1.283 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006946/1.011, allocations: 172.6 kB / 1.283 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.011, allocations: 0 / 1.283 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007878/1.012, allocations: 221.3 kB / 1.284 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.012, allocations: 8 kB / 1.284 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/1.012, allocations: 0 / 1.284 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/1.012, allocations: 0 / 1.284 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/1.012, allocations: 27.95 kB / 1.284 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/1.012, allocations: 11.98 kB / 1.284 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/1.012, allocations: 23.95 kB / 1.284 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/1.012, allocations: 7.938 kB / 1.284 GB, free: 7.613 MB / 0.9825 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 9.791e-05/1.012, allocations: 113.8 kB / 1.284 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/1.012, allocations: 7.938 kB / 1.284 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/1.013, allocations: 11.91 kB / 1.284 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/1.013, allocations: 4.375 kB / 1.284 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.013, allocations: 4 kB / 1.284 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/1.013, allocations: 0 / 1.284 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/1.013, allocations: 209.9 kB / 1.284 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.013, allocations: 3.938 kB / 1.284 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/1.013, allocations: 39.94 kB / 1.284 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.013, allocations: 3.938 kB / 1.284 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/1.013, allocations: 0 / 1.284 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.013, allocations: 0 / 1.284 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.013, allocations: 4 kB / 1.284 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008481/1.014, allocations: 315.2 kB / 1.284 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/1.014, allocations: 85.06 kB / 1.284 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/1.014, allocations: 4 kB / 1.285 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/1.014, allocations: 31.94 kB / 1.285 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/1.014, allocations: 0 / 1.285 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/1.014, allocations: 4 kB / 1.285 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.306e-05/1.014, allocations: 99.2 kB / 1.285 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/1.014, allocations: 0 / 1.285 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002356/1.015, allocations: 12 kB / 1.285 GB, free: 6.574 MB / 0.9825 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.001199/1.016, allocations: 0.8416 MB / 1.285 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008017/1.017, allocations: 195.8 kB / 1.286 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.017, allocations: 0 / 1.286 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004077/1.017, allocations: 107.8 kB / 1.286 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/1.017, allocations: 14.22 kB / 1.286 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/1.021, allocations: 1.849 MB / 1.288 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/1.021, allocations: 0.6885 MB / 1.288 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.049e-05/1.021, allocations: 15.98 kB / 1.288 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.864e-05/1.021, allocations: 23.42 kB / 1.288 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of SimCode: time 6.21e-07/1.021, allocations: 0 / 1.288 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/1.045, allocations: 1.959 MB / 1.29 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/9.296, allocations: 9.656 kB / 1.29 GB, free: 0.8242 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.506281201029196]