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.001774/0.001774, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002291/0.002291, allocations: 219.5 kB / 23.04 MB, free: 5.074 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.571/1.571, allocations: 230.6 MB / 256.8 MB, free: 8 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.882/2.882, allocations: 476.7 MB / 0.7715 GB, free: 4.301 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.SmoothLimit,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="cs",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.002051/0.002051, allocations: 63.55 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4066, allocations: 169.9 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003179/0.4098, allocations: 1.499 MB / 1.286 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.4111, allocations: 0.6328 MB / 1.286 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.06e-05/0.4111, allocations: 0 / 1.286 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.424e-05/0.4112, allocations: 3.938 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.74e-05/0.4112, allocations: 7.938 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.4116, allocations: 59.81 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.4117, allocations: 27.92 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.4118, allocations: 3.984 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.4119, allocations: 27.86 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.061e-05/0.412, allocations: 19.92 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.412, allocations: 0 / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.4121, allocations: 51.95 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.4122, allocations: 11.94 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.4122, allocations: 7.938 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.4124, allocations: 83.28 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4124, allocations: 0 / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4124, allocations: 0 / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.4124, allocations: 0 / 1.286 GB, free: 9.301 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.0004448/0.4128, allocations: 274.1 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.4129, allocations: 12.03 kB / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.078e-05/0.4129, allocations: 8.125 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.4129, allocations: 42.73 kB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.4131, allocations: 4.938 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.4133, allocations: 122.4 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.4133, allocations: 384 / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.4133, allocations: 4.375 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.4135, allocations: 45.56 kB / 1.287 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.4135, allocations: 7.984 kB / 1.287 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.4135, allocations: 7.984 kB / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4135, allocations: 0 / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.028e-05/0.4136, allocations: 15.98 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.4139, allocations: 228 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.538e-05/0.414, allocations: 34.5 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.023e-05/0.4141, allocations: 20.92 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006138/0.4147, allocations: 91.8 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.4147, allocations: 34.56 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4147, allocations: 8 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002555/0.415, allocations: 61.62 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.415, allocations: 51.41 kB / 1.288 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.4151, allocations: 117.8 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.4151, allocations: 25.7 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.4152, allocations: 84.14 kB / 1.288 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.4152, allocations: 7.953 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.4152, allocations: 17.83 kB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.4154, allocations: 322.8 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.326e-05/0.4155, allocations: 7.984 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.373e-05/0.4155, allocations: 4 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.3e-05/0.4156, allocations: 32.84 kB / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4156, allocations: 0 / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001274/0.4157, allocations: 53.75 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.4157, allocations: 4 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.4157, allocations: 7.922 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4157, allocations: 0 / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.737e-05/0.4158, allocations: 8 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.4158, allocations: 0 / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.899e-05/0.4159, allocations: 3.938 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.4159, allocations: 0 / 1.288 GB, free: 7.371 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.82e-05/0.416, allocations: 121.8 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.416, allocations: 7.984 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.4162, allocations: 57.3 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4162, allocations: 4 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4162, allocations: 0 / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4162, allocations: 0 / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.4164, allocations: 140.7 kB / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.4164, allocations: 0 / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.4164, allocations: 11.92 kB / 1.289 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.4164, allocations: 4.375 kB / 1.289 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.4164, allocations: 4.031 kB / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.4164, allocations: 0 / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4164, allocations: 0 / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.4166, allocations: 159.4 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-06/0.4166, allocations: 3.953 kB / 1.289 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.4166, allocations: 0 / 1.289 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.054e-05/0.4167, allocations: 4 kB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.4167, allocations: 4.031 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.4167, allocations: 3.984 kB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.796e-05/0.4168, allocations: 87.28 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4168, allocations: 0 / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002387/0.417, allocations: 15.94 kB / 1.289 GB, free: 6.68 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.0005809/0.4176, allocations: 0.7006 MB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001394/0.4177, allocations: 23.98 kB / 1.29 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4177, allocations: 0 / 1.29 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.951e-05/0.4178, allocations: 19.92 kB / 1.29 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.418, allocations: 2.188 kB / 1.29 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.4194, allocations: 1.26 MB / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.4197, allocations: 0.6807 MB / 1.291 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.4197, allocations: 0 / 1.291 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.4198, allocations: 11.44 kB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/0.4198, allocations: 0 / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.4422, allocations: 1.796 MB / 1.293 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.66, allocations: 2.594 kB / 1.293 GB, free: 2.207 MB / 0.9825 GB " [Timeout remaining time 287] (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.888782960013486]