Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002142/0.002142, 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.002246/0.002246, 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.418/3.418, allocations: 0.4892 GB / 0.7943 GB, free: 35.69 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_12_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.002262/0.002262, allocations: 64.94 kB / 1.153 GB, free: 25.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.397, allocations: 176.1 MB / 1.325 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003972/0.4009, allocations: 1.478 MB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.4025, allocations: 0.5845 MB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.57e-05/0.4026, allocations: 0 / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.517e-05/0.4027, allocations: 3.938 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.985e-05/0.4027, allocations: 3.938 kB / 1.327 GB, free: 332 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.4032, allocations: 55.81 kB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.4033, allocations: 35.8 kB / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.4034, allocations: 3.984 kB / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.4036, allocations: 23.98 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.502e-05/0.4037, allocations: 15.92 kB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.4037, allocations: 3.938 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.4039, allocations: 55.95 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.4039, allocations: 7.984 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.4039, allocations: 7.938 kB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.4042, allocations: 76 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4042, allocations: 0 / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4042, allocations: 0 / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.4042, allocations: 0 / 1.327 GB, free: 44 kB / 1.014 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.0006364/0.4048, allocations: 282.1 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.681e-05/0.4049, allocations: 8.031 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.117e-05/0.405, allocations: 34.73 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002182/0.4052, allocations: 16.88 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.4055, allocations: 122.4 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.4055, allocations: 8.375 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.4056, allocations: 384 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.4058, allocations: 45.81 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4058, allocations: 0 / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.4058, allocations: 7.984 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4058, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.4059, allocations: 23.92 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.4065, allocations: 224 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.4066, allocations: 26.58 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.456e-05/0.4067, allocations: 16.91 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008697/0.4075, allocations: 95.86 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.4076, allocations: 34.56 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.4076, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003816/0.408, allocations: 69.56 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.408, allocations: 55.41 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.4082, allocations: 105.8 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.4082, allocations: 25.83 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.4083, allocations: 96.12 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.4083, allocations: 3.953 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.4084, allocations: 17.72 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.4086, allocations: 314.8 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.54e-05/0.4086, allocations: 15.98 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.975e-05/0.4087, allocations: 4 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.4088, allocations: 28.78 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4088, allocations: 0 / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000198/0.409, allocations: 61.73 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.409, allocations: 4 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.409, allocations: 384 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.409, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/0.4091, allocations: 4 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.4091, allocations: 0 / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/0.4092, allocations: 11.92 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.4092, allocations: 4 kB / 1.329 GB, free: 14.12 MB / 1.029 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.0001297/0.4093, allocations: 118.2 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.4094, allocations: 7.984 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.4096, allocations: 65.23 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4096, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.4096, allocations: 4 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4096, allocations: 0 / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.4099, allocations: 132.7 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.4099, allocations: 4 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.576e-05/0.41, allocations: 7.984 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.41, allocations: 0 / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.41, allocations: 4.031 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.41, allocations: 0 / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.41, allocations: 4 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.4103, allocations: 159.4 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.4103, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.4103, allocations: 3.984 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.198e-05/0.4104, allocations: 4 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.4104, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.4104, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.521e-05/0.4105, allocations: 91.27 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4105, allocations: 4.031 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004244/0.4109, allocations: 15.94 kB / 1.33 GB, free: 13.42 MB / 1.029 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.0008768/0.4118, allocations: 0.7006 MB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.412, allocations: 23.92 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.412, allocations: 4 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.861e-05/0.4121, allocations: 8 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.4125, allocations: 8.156 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.4147, allocations: 1.256 MB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.545e-05/0.4148, allocations: 71.19 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.263e-05/0.4149, allocations: 11.92 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.4149, allocations: 11.44 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of SimCode: time 7.71e-07/0.4149, allocations: 4.031 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03866/0.4536, allocations: 2.153 MB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.96, allocations: 6.719 kB / 1.334 GB, free: 9.176 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.214460163377225]