Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.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.001599/0.001599, 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.002076/0.002076, allocations: 213.4 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.538/1.538, 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.414/3.414, 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.SmoothLimit,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothLimit",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.002192/0.002192, allocations: 67 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.448/0.4502, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003529/0.4538, allocations: 1.479 MB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.4551, allocations: 0.5854 MB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.147e-05/0.4551, allocations: 0 / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.4552, allocations: 3.938 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.582e-05/0.4552, allocations: 3.938 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.4556, allocations: 55.81 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.4557, allocations: 27.86 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.4558, allocations: 11.98 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.456, allocations: 27.92 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.707e-05/0.456, allocations: 7.938 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.4561, allocations: 4 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.4562, allocations: 55.94 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.4563, allocations: 3.938 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.4563, allocations: 15.92 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.4565, allocations: 68.02 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4565, allocations: 0 / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4565, allocations: 0 / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.4565, allocations: 0 / 1.366 GB, free: 11.68 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000532/0.457, allocations: 274.2 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.4571, allocations: 16.03 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.253e-05/0.4571, allocations: 34.75 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01644/0.4736, allocations: 2.432 MB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.474, allocations: 158.3 kB / 1.369 GB, free: 8.715 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.474, allocations: 384 / 1.369 GB, free: 8.715 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.4741, allocations: 8.312 kB / 1.369 GB, free: 8.707 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005528/0.4796, allocations: 1.02 MB / 1.37 GB, free: 7.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.4796, allocations: 0 / 1.37 GB, free: 7.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.4797, allocations: 0 / 1.37 GB, free: 7.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.4797, allocations: 0 / 1.37 GB, free: 7.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.49, allocations: 1.861 MB / 1.371 GB, free: 5.816 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006673/0.4967, allocations: 1.41 MB / 1.373 GB, free: 4.359 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.5071, allocations: 1.879 MB / 1.375 GB, free: 2.469 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005129/0.5122, allocations: 0.9335 MB / 1.375 GB, free: 1.531 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.5123, allocations: 7.984 kB / 1.375 GB, free: 1.523 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.5123, allocations: 34.56 kB / 1.376 GB, free: 1.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 2.044e-06/0.5123, allocations: 0 / 1.376 GB, free: 1.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0154/0.5277, allocations: 2.733 MB / 1.378 GB, free: 14.74 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.5278, allocations: 55.41 kB / 1.378 GB, free: 14.67 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.5279, allocations: 109.8 kB / 1.378 GB, free: 14.55 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.528, allocations: 29.7 kB / 1.378 GB, free: 14.52 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.528, allocations: 88.09 kB / 1.378 GB, free: 14.43 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.5281, allocations: 0 / 1.378 GB, free: 14.43 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.5282, allocations: 29.67 kB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5284, allocations: 318.8 kB / 1.379 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005173/0.5335, allocations: 0.9326 MB / 1.38 GB, free: 13.14 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005069/0.5386, allocations: 0.9287 MB / 1.381 GB, free: 12.21 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009481/0.5481, allocations: 1.687 MB / 1.382 GB, free: 10.52 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.5481, allocations: 0 / 1.382 GB, free: 10.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.01005/0.5582, allocations: 1.82 MB / 1.384 GB, free: 8.691 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.5582, allocations: 8 kB / 1.384 GB, free: 8.684 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.5582, allocations: 0 / 1.384 GB, free: 8.684 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.5582, allocations: 0 / 1.384 GB, free: 8.684 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002933/0.5611, allocations: 459.5 kB / 1.384 GB, free: 8.234 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.5612, allocations: 4 kB / 1.384 GB, free: 8.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00279/0.5639, allocations: 455.5 kB / 1.385 GB, free: 7.785 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.564, allocations: 3.984 kB / 1.385 GB, free: 7.781 MB / 1.076 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 0.0001682/0.5642, allocations: 113.8 kB / 1.385 GB, free: 7.66 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-05/0.5642, allocations: 11.89 kB / 1.385 GB, free: 7.648 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.679e-05/0.5643, allocations: 11.62 kB / 1.385 GB, free: 7.637 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.5643, allocations: 0 / 1.385 GB, free: 7.637 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.5643, allocations: 4 kB / 1.385 GB, free: 7.633 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.5643, allocations: 4 kB / 1.385 GB, free: 7.629 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004237/0.5648, allocations: 265.4 kB / 1.385 GB, free: 7.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5648, allocations: 384 / 1.385 GB, free: 7.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002941/0.5677, allocations: 467.4 kB / 1.386 GB, free: 6.863 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.5677, allocations: 0 / 1.386 GB, free: 6.863 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.5677, allocations: 11.98 kB / 1.386 GB, free: 6.852 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.5677, allocations: 7.875 kB / 1.386 GB, free: 6.844 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5678, allocations: 3.984 kB / 1.386 GB, free: 6.84 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/0.5781, allocations: 1.904 MB / 1.388 GB, free: 4.918 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.5781, allocations: 7.953 kB / 1.388 GB, free: 4.91 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.916e-05/0.5782, allocations: 0 / 1.388 GB, free: 4.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002829/0.581, allocations: 447.5 kB / 1.388 GB, free: 4.473 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.5811, allocations: 4 kB / 1.388 GB, free: 4.469 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.5811, allocations: 3.984 kB / 1.388 GB, free: 4.465 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001037/0.5812, allocations: 95.27 kB / 1.388 GB, free: 4.371 MB / 1.076 GB Notification: Performance of sort global known variables: time 5e-08/0.5812, allocations: 0 / 1.388 GB, free: 4.371 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003379/0.5816, allocations: 36 kB / 1.388 GB, free: 4.336 MB / 1.076 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.01066/0.5922, allocations: 2.449 MB / 1.391 GB, free: 1.859 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01028/0.6025, allocations: 1.869 MB / 1.392 GB, free: 15.98 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6025, allocations: 4.062 kB / 1.392 GB, free: 15.98 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.005147/0.6077, allocations: 0.9364 MB / 1.393 GB, free: 15.05 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.608, allocations: 0 / 1.393 GB, free: 15.05 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03227/0.6402, allocations: 6.81 MB / 1.4 GB, free: 8.152 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.594e-05/0.6403, allocations: 67.25 kB / 1.4 GB, free: 8.066 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003141/0.6406, allocations: 32.03 kB / 1.4 GB, free: 8.035 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.6408, allocations: 23.41 kB / 1.4 GB, free: 8.012 MB / 1.092 GB Notification: Performance of SimCode: time 2.064e-06/0.6408, allocations: 0 / 1.4 GB, free: 8.012 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0349/0.6757, allocations: 4.194 MB / 1.404 GB, free: 3.934 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.06, allocations: 9.797 kB / 1.404 GB, free: 3.926 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_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_SmoothLimit.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.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.49974982626736]