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.001367/0.001367, allocations: 105.1 kB / 16.45 MB, free: 6.453 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.001582/0.001582, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.503/1.503, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.394/3.394, allocations: 0.505 GB / 0.8066 GB, free: 23.14 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.00206/0.00206, allocations: 72.7 kB / 1.172 GB, free: 17.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.4358, allocations: 180.2 MB / 1.348 GB, free: 9.984 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003138/0.439, allocations: 1.487 MB / 1.349 GB, free: 8.488 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.4401, allocations: 0.6272 MB / 1.35 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.4402, allocations: 0 / 1.35 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.4402, allocations: 7.938 kB / 1.35 GB, free: 7.848 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.096e-05/0.4403, allocations: 3.938 kB / 1.35 GB, free: 7.844 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.4406, allocations: 55.81 kB / 1.35 GB, free: 7.789 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.4407, allocations: 27.92 kB / 1.35 GB, free: 7.762 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.396e-05/0.4408, allocations: 4 kB / 1.35 GB, free: 7.758 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.441, allocations: 31.84 kB / 1.35 GB, free: 7.727 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.892e-05/0.441, allocations: 15.92 kB / 1.35 GB, free: 7.711 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.4411, allocations: 4 kB / 1.35 GB, free: 7.707 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.4412, allocations: 51.95 kB / 1.35 GB, free: 7.656 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.4412, allocations: 4 kB / 1.35 GB, free: 7.652 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.4412, allocations: 15.86 kB / 1.35 GB, free: 7.637 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.4414, allocations: 76.02 kB / 1.35 GB, free: 7.562 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.4414, allocations: 3.984 kB / 1.35 GB, free: 7.559 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4414, allocations: 0 / 1.35 GB, free: 7.559 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.4414, allocations: 0 / 1.35 GB, free: 7.559 MB / 1.045 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.0005423/0.442, allocations: 347.2 kB / 1.35 GB, free: 7.172 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.442, allocations: 19.98 kB / 1.35 GB, free: 7.152 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.4421, allocations: 38.67 kB / 1.351 GB, free: 7.105 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01663/0.4587, allocations: 2.436 MB / 1.353 GB, free: 4.668 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.4592, allocations: 212.2 kB / 1.353 GB, free: 4.422 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.4592, allocations: 384 / 1.353 GB, free: 4.422 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.4593, allocations: 384 / 1.353 GB, free: 4.422 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005715/0.465, allocations: 1.02 MB / 1.354 GB, free: 3.395 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.465, allocations: 0 / 1.354 GB, free: 3.395 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.465, allocations: 0 / 1.354 GB, free: 3.395 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.465, allocations: 0 / 1.354 GB, free: 3.395 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01092/0.476, allocations: 1.857 MB / 1.356 GB, free: 1.535 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007067/0.483, allocations: 1.509 MB / 1.357 GB, free: 15.97 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01107/0.4941, allocations: 1.879 MB / 1.359 GB, free: 14.08 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00544/0.4995, allocations: 0.9374 MB / 1.36 GB, free: 13.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.805e-05/0.4996, allocations: 0 / 1.36 GB, free: 13.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/0.4996, allocations: 30.56 kB / 1.36 GB, free: 13.1 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.914e-06/0.4996, allocations: 0 / 1.36 GB, free: 13.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.01591/0.5155, allocations: 2.753 MB / 1.363 GB, free: 10.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.5156, allocations: 51.41 kB / 1.363 GB, free: 10.27 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.5157, allocations: 113.9 kB / 1.363 GB, free: 10.15 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.324e-05/0.5158, allocations: 25.7 kB / 1.363 GB, free: 10.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.659e-05/0.5159, allocations: 88.12 kB / 1.363 GB, free: 10.03 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.323e-05/0.5159, allocations: 7.953 kB / 1.363 GB, free: 10.02 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.5161, allocations: 25.69 kB / 1.363 GB, free: 9.992 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5162, allocations: 318.8 kB / 1.363 GB, free: 9.672 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005421/0.5216, allocations: 0.9326 MB / 1.364 GB, free: 8.738 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005308/0.5269, allocations: 0.9287 MB / 1.365 GB, free: 7.809 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009798/0.5367, allocations: 1.679 MB / 1.367 GB, free: 6.125 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.5367, allocations: 0 / 1.367 GB, free: 6.125 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.01051/0.5473, allocations: 1.816 MB / 1.369 GB, free: 4.301 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.5473, allocations: 4 kB / 1.369 GB, free: 4.297 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.5473, allocations: 4.031 kB / 1.369 GB, free: 4.293 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.5473, allocations: 0 / 1.369 GB, free: 4.293 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003047/0.5504, allocations: 471.4 kB / 1.369 GB, free: 3.832 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.5504, allocations: 0 / 1.369 GB, free: 3.832 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/0.5533, allocations: 455.5 kB / 1.37 GB, free: 3.387 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.189e-05/0.5533, allocations: 7.984 kB / 1.37 GB, free: 3.379 MB / 1.061 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.0001668/0.5535, allocations: 109.8 kB / 1.37 GB, free: 3.262 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.029e-05/0.5535, allocations: 8 kB / 1.37 GB, free: 3.254 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.578e-05/0.5536, allocations: 11.52 kB / 1.37 GB, free: 3.246 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.5536, allocations: 4 kB / 1.37 GB, free: 3.242 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5536, allocations: 0 / 1.37 GB, free: 3.242 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.5536, allocations: 4 kB / 1.37 GB, free: 3.238 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005706/0.5542, allocations: 358.2 kB / 1.37 GB, free: 2.832 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5542, allocations: 4 kB / 1.37 GB, free: 2.828 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00312/0.5573, allocations: 463.5 kB / 1.37 GB, free: 2.375 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.5573, allocations: 3.938 kB / 1.37 GB, free: 2.371 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.851e-05/0.5574, allocations: 11.92 kB / 1.371 GB, free: 2.359 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-06/0.5574, allocations: 0 / 1.371 GB, free: 2.359 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5574, allocations: 384 / 1.371 GB, free: 2.359 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/0.5682, allocations: 1.912 MB / 1.372 GB, free: 440 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.5683, allocations: 81.11 kB / 1.372 GB, free: 340 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.5683, allocations: 4 kB / 1.372 GB, free: 336 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002981/0.5713, allocations: 455.5 kB / 1.373 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.5714, allocations: 4 kB / 1.373 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/0.5714, allocations: 7.984 kB / 1.373 GB, free: 15.87 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.059e-05/0.5715, allocations: 91.27 kB / 1.373 GB, free: 15.78 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.5715, allocations: 0 / 1.373 GB, free: 15.78 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003424/0.5718, allocations: 32 kB / 1.373 GB, free: 15.75 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.01107/0.5829, allocations: 2.449 MB / 1.375 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01077/0.5937, allocations: 1.873 MB / 1.377 GB, free: 11.4 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5937, allocations: 0 / 1.377 GB, free: 11.4 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005369/0.599, allocations: 0.9443 MB / 1.378 GB, free: 10.45 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.5993, allocations: 2.344 kB / 1.378 GB, free: 10.45 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03426/0.6336, allocations: 6.811 MB / 1.385 GB, free: 3.559 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.634, allocations: 0.6768 MB / 1.385 GB, free: 2.855 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002969/0.6342, allocations: 40.02 kB / 1.386 GB, free: 2.816 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.6345, allocations: 23.41 kB / 1.386 GB, free: 2.793 MB / 1.076 GB Notification: Performance of SimCode: time 1.723e-06/0.6345, allocations: 0 / 1.386 GB, free: 2.793 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.6657, allocations: 3.392 MB / 1.389 GB, free: 15.46 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.259/8.924, allocations: 2.344 kB / 1.389 GB, free: 15.46 MB / 1.092 GB " [Timeout remaining time 291] (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: 16.20866868691519]