Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002008/0.002008, allocations: 105.1 kB / 16.45 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.002207/0.002207, 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.533/1.533, allocations: 230.6 MB / 252.8 MB, free: 8.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.33/3.33, allocations: 0.505 GB / 0.8066 GB, free: 23.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_latest_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.003048/0.003048, allocations: 68.98 kB / 1.172 GB, free: 17.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4577, allocations: 180.2 MB / 1.348 GB, free: 9.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002924/0.4606, allocations: 1.487 MB / 1.349 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004609/0.4611, allocations: 147.5 kB / 1.349 GB, free: 8.332 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.4611, allocations: 0 / 1.349 GB, free: 8.332 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.77e-05/0.4611, allocations: 0 / 1.349 GB, free: 8.332 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.777e-05/0.4612, allocations: 3.938 kB / 1.349 GB, free: 8.328 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.4615, allocations: 35.89 kB / 1.349 GB, free: 8.293 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.4616, allocations: 43.84 kB / 1.349 GB, free: 8.25 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.4617, allocations: 16.28 kB / 1.349 GB, free: 8.234 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.862e-05/0.4618, allocations: 23.92 kB / 1.349 GB, free: 8.211 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.131e-05/0.4618, allocations: 15.92 kB / 1.349 GB, free: 8.195 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.4618, allocations: 4 kB / 1.349 GB, free: 8.191 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.4619, allocations: 35.97 kB / 1.35 GB, free: 8.156 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.4619, allocations: 7.984 kB / 1.35 GB, free: 8.148 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.462, allocations: 23.8 kB / 1.35 GB, free: 8.125 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.4621, allocations: 63.75 kB / 1.35 GB, free: 8.062 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.4621, allocations: 4 kB / 1.35 GB, free: 8.059 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4621, allocations: 0 / 1.35 GB, free: 8.059 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.4622, allocations: 3.938 kB / 1.35 GB, free: 8.055 MB / 1.045 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.0005327/0.4627, allocations: 371.2 kB / 1.35 GB, free: 7.641 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.4627, allocations: 11.98 kB / 1.35 GB, free: 7.629 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.4628, allocations: 34.75 kB / 1.35 GB, free: 7.586 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.4639, allocations: 208.5 kB / 1.35 GB, free: 7.383 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.464, allocations: 172.3 kB / 1.35 GB, free: 7.176 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.464, allocations: 8.375 kB / 1.35 GB, free: 7.168 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.464, allocations: 384 / 1.35 GB, free: 7.168 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/0.4646, allocations: 198 kB / 1.351 GB, free: 6.969 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4646, allocations: 3.938 kB / 1.351 GB, free: 6.965 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.4647, allocations: 0 / 1.351 GB, free: 6.965 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4647, allocations: 0 / 1.351 GB, free: 6.965 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009111/0.4656, allocations: 283.6 kB / 1.351 GB, free: 6.688 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009799/0.4666, allocations: 433.4 kB / 1.351 GB, free: 6.215 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.4677, allocations: 286.1 kB / 1.352 GB, free: 5.926 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003772/0.4681, allocations: 100.8 kB / 1.352 GB, free: 5.824 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.4681, allocations: 4 kB / 1.352 GB, free: 5.82 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.4681, allocations: 30.56 kB / 1.352 GB, free: 5.781 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.4681, allocations: 0 / 1.352 GB, free: 5.781 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.001305/0.4695, allocations: 313.2 kB / 1.352 GB, free: 5.469 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.4695, allocations: 59.34 kB / 1.352 GB, free: 5.398 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.4696, allocations: 121.8 kB / 1.352 GB, free: 5.27 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.4697, allocations: 25.7 kB / 1.352 GB, free: 5.238 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.4697, allocations: 88.22 kB / 1.352 GB, free: 5.148 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.4698, allocations: 15.89 kB / 1.352 GB, free: 5.133 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.4698, allocations: 17.7 kB / 1.352 GB, free: 5.109 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.47, allocations: 322.8 kB / 1.353 GB, free: 4.785 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.4704, allocations: 91.88 kB / 1.353 GB, free: 4.695 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003929/0.4707, allocations: 99.86 kB / 1.353 GB, free: 4.598 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006904/0.4714, allocations: 172.6 kB / 1.353 GB, free: 4.426 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.4714, allocations: 0 / 1.353 GB, free: 4.426 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008084/0.4722, allocations: 213.7 kB / 1.353 GB, free: 4.211 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.4723, allocations: 8.375 kB / 1.353 GB, free: 4.203 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4723, allocations: 48 / 1.353 GB, free: 4.203 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.4723, allocations: 3.984 kB / 1.353 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.4726, allocations: 35.94 kB / 1.353 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.4726, allocations: 3.938 kB / 1.353 GB, free: 4.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.4728, allocations: 31.89 kB / 1.353 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.4728, allocations: 4 kB / 1.353 GB, free: 4.125 MB / 1.045 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.0001104/0.4729, allocations: 121.8 kB / 1.353 GB, free: 3.996 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.4729, allocations: 7.953 kB / 1.353 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.742e-05/0.473, allocations: 11.91 kB / 1.353 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.473, allocations: 0 / 1.353 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.473, allocations: 0 / 1.353 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.473, allocations: 0 / 1.353 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.4733, allocations: 209.5 kB / 1.354 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4733, allocations: 0 / 1.354 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.4735, allocations: 39.94 kB / 1.354 GB, free: 3.672 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.4735, allocations: 0 / 1.354 GB, free: 3.672 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.4735, allocations: 4 kB / 1.354 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4735, allocations: 0 / 1.354 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4735, allocations: 0 / 1.354 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.4746, allocations: 319.1 kB / 1.354 GB, free: 3.34 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.4747, allocations: 85.03 kB / 1.354 GB, free: 3.238 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.4747, allocations: 4 kB / 1.354 GB, free: 3.234 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.4749, allocations: 27.95 kB / 1.354 GB, free: 3.207 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.475, allocations: 4 kB / 1.354 GB, free: 3.203 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.475, allocations: 0 / 1.354 GB, free: 3.203 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.744e-05/0.475, allocations: 99.27 kB / 1.354 GB, free: 3.105 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.475, allocations: 0 / 1.354 GB, free: 3.105 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002371/0.4753, allocations: 15.94 kB / 1.354 GB, free: 3.09 MB / 1.045 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.001258/0.4765, allocations: 0.8411 MB / 1.355 GB, free: 2.223 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008087/0.4773, allocations: 199.7 kB / 1.355 GB, free: 2.027 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4773, allocations: 0 / 1.355 GB, free: 2.027 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003808/0.4777, allocations: 95.88 kB / 1.355 GB, free: 1.934 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.478, allocations: 8 kB / 1.355 GB, free: 1.93 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.4817, allocations: 1.853 MB / 1.357 GB, free: 0 / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.4821, allocations: 0.6885 MB / 1.358 GB, free: 15.29 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.536e-05/0.4821, allocations: 16 kB / 1.358 GB, free: 15.27 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.56e-05/0.4822, allocations: 23.42 kB / 1.358 GB, free: 15.25 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.4822, allocations: 0 / 1.358 GB, free: 15.25 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.5088, allocations: 1.952 MB / 1.36 GB, free: 13.38 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.229/8.737, allocations: 17.97 kB / 1.36 GB, free: 13.36 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.070931223919615]