Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001546/0.001546, 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.002093/0.002093, 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.575/1.575, 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 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.82/2.82, allocations: 476 MB / 0.7699 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] 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.SmoothLimit,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_11_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.002067/0.002067, allocations: 66.58 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3754, allocations: 170 MB / 1.283 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003171/0.3786, allocations: 1.484 MB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.3798, allocations: 0.5783 MB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.715e-05/0.3798, allocations: 0 / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/0.3799, allocations: 3.938 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.736e-05/0.3799, allocations: 11.92 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.3803, allocations: 55.81 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.3804, allocations: 31.92 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.3805, allocations: 4 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.3806, allocations: 23.86 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.101e-05/0.3807, allocations: 19.91 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.3807, allocations: 0 / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.3809, allocations: 59.95 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.3809, allocations: 0 / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.3809, allocations: 11.94 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.3811, allocations: 69.42 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3811, allocations: 0 / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3811, allocations: 4 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.3811, allocations: 0 / 1.285 GB, free: 10.14 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004846/0.3816, allocations: 282.1 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3817, allocations: 12.03 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.3817, allocations: 30.75 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.3819, allocations: 16.92 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.3821, allocations: 114.5 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.3821, allocations: 384 / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.3822, allocations: 4.312 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.3823, allocations: 49.8 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3823, allocations: 4 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.3823, allocations: 4 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3823, allocations: 0 / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.103e-05/0.3824, allocations: 19.98 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.3828, allocations: 227.9 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.3829, allocations: 38.5 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.016e-05/0.3829, allocations: 12.91 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006292/0.3835, allocations: 95.88 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.3836, allocations: 34.5 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.3836, allocations: 0 / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002667/0.3838, allocations: 69.62 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.3839, allocations: 51.41 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.971e-05/0.384, allocations: 121.8 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.384, allocations: 25.7 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.3841, allocations: 84.14 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.3841, allocations: 7.938 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.3841, allocations: 17.72 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3843, allocations: 318.8 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.3843, allocations: 11.98 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.349e-05/0.3843, allocations: 4 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.429e-05/0.3844, allocations: 32.91 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3844, allocations: 4 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001311/0.3846, allocations: 53.62 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3846, allocations: 7.984 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3846, allocations: 0 / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3846, allocations: 4 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.976e-05/0.3847, allocations: 4 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.443e-06/0.3847, allocations: 3.984 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.3847, allocations: 0 / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3847, allocations: 4.031 kB / 1.287 GB, free: 8.207 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 (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 8.809e-05/0.3848, allocations: 121.8 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.3848, allocations: 7.953 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.385, allocations: 61.3 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.385, allocations: 0 / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.385, allocations: 0 / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.385, allocations: 0 / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.3852, allocations: 132.7 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3852, allocations: 0 / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.3852, allocations: 7.938 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3852, allocations: 4.031 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.3852, allocations: 384 / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3852, allocations: 3.984 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3852, allocations: 0 / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.3854, allocations: 151.5 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.148e-05/0.3854, allocations: 11.89 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.3854, allocations: 0 / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.083e-05/0.3855, allocations: 3.984 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.3855, allocations: 4 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3855, allocations: 7.969 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.843e-05/0.3856, allocations: 91.27 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3856, allocations: 0 / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002456/0.3858, allocations: 15.94 kB / 1.287 GB, free: 7.52 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 (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.0005978/0.3864, allocations: 0.6989 MB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.3866, allocations: 23.98 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3866, allocations: 0 / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.262e-05/0.3866, allocations: 24.02 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.3869, allocations: 4.859 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.3884, allocations: 1.254 MB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.616e-05/0.3884, allocations: 63.34 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.306e-05/0.3885, allocations: 8.094 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.3885, allocations: 19.42 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.3885, allocations: 0 / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.4198, allocations: 2.14 MB / 1.291 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.62, allocations: 8.797 kB / 1.291 GB, free: 3.285 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.39139467291534]