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.001455/0.001455, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001686/0.001686, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.793 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.511/3.511, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.002133/0.002133, allocations: 71.55 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4644, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003032/0.4674, allocations: 1.491 MB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004373/0.4678, allocations: 127.6 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.446e-05/0.4679, allocations: 4 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.205e-05/0.468, allocations: 7.922 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.505e-05/0.4681, allocations: 3.938 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.4683, allocations: 27.91 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.4684, allocations: 39.92 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.4686, allocations: 28.19 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.047e-05/0.4686, allocations: 11.98 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.323e-05/0.4687, allocations: 23.86 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.4687, allocations: 4 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.861e-05/0.4688, allocations: 23.98 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/0.4688, allocations: 15.98 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.4689, allocations: 11.94 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.469, allocations: 67.72 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.469, allocations: 0 / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.469, allocations: 0 / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.469, allocations: 4 kB / 1.365 GB, free: 12.16 MB / 1.061 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.000543/0.4696, allocations: 286.2 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.4696, allocations: 8.031 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.652e-05/0.4697, allocations: 34.69 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.4708, allocations: 220.5 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.4709, allocations: 118.5 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.4709, allocations: 384 / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.471, allocations: 4.375 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006312/0.4716, allocations: 197.9 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4716, allocations: 3.938 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.4716, allocations: 0 / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.4716, allocations: 4 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008694/0.4725, allocations: 287.5 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00098/0.4735, allocations: 388.5 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.4746, allocations: 282.2 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003705/0.475, allocations: 104.8 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.475, allocations: 4 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.475, allocations: 34.5 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.475, allocations: 0 / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.001203/0.4762, allocations: 305.3 kB / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.4763, allocations: 55.41 kB / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.4764, allocations: 117.8 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.4764, allocations: 25.7 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.4765, allocations: 88.14 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.4765, allocations: 7.906 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/0.4766, allocations: 25.7 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002767/0.4768, allocations: 318.8 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003606/0.4772, allocations: 95.88 kB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.4776, allocations: 99.98 kB / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006687/0.4782, allocations: 176.7 kB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4782, allocations: 0 / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007593/0.479, allocations: 213.5 kB / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.479, allocations: 8 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.479, allocations: 0 / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.479, allocations: 0 / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.4793, allocations: 35.94 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.4793, allocations: 0 / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.4795, allocations: 35.84 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.4795, allocations: 4 kB / 1.369 GB, free: 8.449 MB / 1.061 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.00011/0.4796, allocations: 125.7 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.4797, allocations: 4.375 kB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.436e-05/0.4797, allocations: 4 kB / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.4797, allocations: 0 / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4797, allocations: 7.938 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4797, allocations: 3.938 kB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.4801, allocations: 168.7 kB / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4801, allocations: 0 / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.4803, allocations: 43.94 kB / 1.369 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4803, allocations: 0 / 1.369 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.4803, allocations: 4 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4803, allocations: 0 / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4803, allocations: 0 / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008747/0.4812, allocations: 319.2 kB / 1.369 GB, free: 7.703 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.4812, allocations: 7.953 kB / 1.369 GB, free: 7.695 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.4812, allocations: 3.938 kB / 1.369 GB, free: 7.691 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.4814, allocations: 27.95 kB / 1.369 GB, free: 7.664 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.4815, allocations: 11.98 kB / 1.369 GB, free: 7.652 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.4815, allocations: 0 / 1.369 GB, free: 7.652 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.677e-05/0.4816, allocations: 95.27 kB / 1.369 GB, free: 7.559 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4816, allocations: 0 / 1.369 GB, free: 7.559 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002419/0.4818, allocations: 15.94 kB / 1.369 GB, free: 7.543 MB / 1.061 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.001286/0.4831, allocations: 0.8256 MB / 1.37 GB, free: 6.691 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008059/0.4839, allocations: 203.7 kB / 1.37 GB, free: 6.492 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4839, allocations: 0 / 1.37 GB, free: 6.492 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.4843, allocations: 99.88 kB / 1.371 GB, free: 6.395 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.4846, allocations: 0 / 1.371 GB, free: 6.395 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.4883, allocations: 1.848 MB / 1.372 GB, free: 4.469 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.085e-05/0.4884, allocations: 79.33 kB / 1.372 GB, free: 4.371 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.953e-05/0.4885, allocations: 15.98 kB / 1.372 GB, free: 4.355 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.834e-05/0.4885, allocations: 15.42 kB / 1.372 GB, free: 4.34 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.4885, allocations: 4 kB / 1.372 GB, free: 4.336 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03207/0.5206, allocations: 2.557 MB / 1.375 GB, free: 1.918 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.87, allocations: 3.938 kB / 1.375 GB, free: 1.914 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.40970064792782]