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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 225.6 MB / 249.3 MB, free: 3.215 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.511/2.511, allocations: 476.7 MB / 0.7628 GB, free: 15.21 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 67.89 kB / 1.107 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7697/0.7715, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002026/0.7735, allocations: 1.487 MB / 1.273 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000723/0.7742, allocations: 0.5704 MB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.276e-05/0.7743, allocations: 0.8438 kB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.013e-05/0.7743, allocations: 4.453 kB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.986e-05/0.7743, allocations: 6.188 kB / 1.273 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.7745, allocations: 49.39 kB / 1.273 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.8e-05/0.7746, allocations: 29.77 kB / 1.273 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.284e-05/0.7747, allocations: 8.219 kB / 1.273 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.827e-05/0.7747, allocations: 15.08 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.763e-05/0.7748, allocations: 14.73 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.7748, allocations: 2.375 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.7749, allocations: 57.48 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.7749, allocations: 6.891 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.7749, allocations: 11.67 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.7751, allocations: 68.42 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.7751, allocations: 0 / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7751, allocations: 0.5 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.7751, allocations: 4.812 kB / 1.274 GB, free: 6.168 MB / 0.9981 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.0002957/0.7754, allocations: 347.7 kB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.7754, allocations: 11.22 kB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.842e-05/0.7754, allocations: 31.72 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.196e-05/0.7754, allocations: 10.67 kB / 1.274 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.913e-05/0.7755, allocations: 173.4 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.7755, allocations: 384 / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.7755, allocations: 1.875 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.7756, allocations: 49.61 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.7756, allocations: 0.5 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.7756, allocations: 0 / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.7756, allocations: 4.844 kB / 1.274 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.867e-05/0.7757, allocations: 25.47 kB / 1.274 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.7759, allocations: 248.9 kB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.441e-05/0.776, allocations: 29.64 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/0.776, allocations: 22.84 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006265/0.7767, allocations: 469.5 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/0.7767, allocations: 32.2 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.7767, allocations: 4 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001985/0.7769, allocations: 69.83 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.595e-05/0.7769, allocations: 53.95 kB / 1.275 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.086e-05/0.777, allocations: 106 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.751e-06/0.777, allocations: 26.7 kB / 1.275 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.93e-05/0.777, allocations: 88.89 kB / 1.275 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.133e-05/0.777, allocations: 4.922 kB / 1.275 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.777, allocations: 20.72 kB / 1.275 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.205e-05/0.777, allocations: 318.9 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.844e-05/0.7771, allocations: 9.5 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.167e-05/0.7771, allocations: 9.922 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.72e-05/0.7772, allocations: 27.22 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.7772, allocations: 0 / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001021/0.7773, allocations: 60.34 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.7773, allocations: 6.125 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.7773, allocations: 0 / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.7773, allocations: 1.062 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.929e-05/0.7774, allocations: 5.828 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.7774, allocations: 3.938 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.898e-05/0.7774, allocations: 8.531 kB / 1.276 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.7774, allocations: 0.9062 kB / 1.276 GB, free: 3.926 MB / 0.9981 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 3.59e-05/0.7774, allocations: 116 kB / 1.276 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.7775, allocations: 2 kB / 1.276 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.7776, allocations: 65.78 kB / 1.276 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.7776, allocations: 0 / 1.276 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.7776, allocations: 1.031 kB / 1.276 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.7776, allocations: 3.984 kB / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.74e-05/0.7777, allocations: 164.9 kB / 1.276 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.7777, allocations: 0.9375 kB / 1.276 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/0.7777, allocations: 12.12 kB / 1.276 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.7778, allocations: 4.031 kB / 1.276 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.7778, allocations: 1.031 kB / 1.276 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.7778, allocations: 0 / 1.276 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.7778, allocations: 1.469 kB / 1.276 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.7779, allocations: 159.8 kB / 1.276 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.7779, allocations: 77.98 kB / 1.276 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.7779, allocations: 0.9688 kB / 1.276 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.676e-05/0.778, allocations: 9.016 kB / 1.276 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.778, allocations: 1.562 kB / 1.276 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.778, allocations: 1.031 kB / 1.276 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.359e-05/0.778, allocations: 87.88 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.778, allocations: 0 / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002164/0.7782, allocations: 16.72 kB / 1.277 GB, free: 3.215 MB / 0.9981 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.0002826/0.7785, allocations: 0.7027 MB / 1.277 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.7786, allocations: 29.05 kB / 1.277 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.7786, allocations: 0 / 1.277 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.97e-05/0.7787, allocations: 12.86 kB / 1.277 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.7788, allocations: 3.375 kB / 1.277 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.7792, allocations: 171.8 kB / 1.277 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.7794, allocations: 0.6801 MB / 1.278 GB, free: 17.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.96e-05/0.7794, allocations: 1.562 kB / 1.278 GB, free: 17.66 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.7794, allocations: 12.78 kB / 1.278 GB, free: 17.65 MB / 1.014 GB Notification: Performance of SimCode: time 3.5e-07/0.7795, allocations: 0.5312 kB / 1.278 GB, free: 17.65 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.801, allocations: 1.601 MB / 1.28 GB, free: 17.26 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.072/7.873, allocations: 10.17 kB / 1.28 GB, free: 17.25 MB / 1.014 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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: 13.230703319000895]