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.001784/0.001784, 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.002233/0.002233, allocations: 214.4 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.657/1.657, allocations: 230.6 MB / 256 MB, free: 7.789 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.486/3.486, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 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.002111/0.002111, allocations: 63.2 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4545/0.4566, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.00315/0.4598, allocations: 1.475 MB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.461, allocations: 0.5815 MB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.461, allocations: 0 / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.86e-05/0.461, allocations: 3.938 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.767e-05/0.4611, allocations: 7.938 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.4614, allocations: 51.81 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.4615, allocations: 35.84 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.4616, allocations: 12 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.4618, allocations: 23.92 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.854e-05/0.4618, allocations: 7.938 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.4618, allocations: 0 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.462, allocations: 59.94 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.462, allocations: 3.938 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.462, allocations: 15.92 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.4622, allocations: 68.02 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4622, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4622, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.4622, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 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.0004735/0.4627, allocations: 278.2 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.4627, allocations: 8.031 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.4628, allocations: 30.75 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01567/0.4784, allocations: 2.439 MB / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.4789, allocations: 154.3 kB / 1.369 GB, free: 8.695 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.4789, allocations: 4.375 kB / 1.369 GB, free: 8.691 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.295e-05/0.4789, allocations: 4.312 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005472/0.4844, allocations: 1.024 MB / 1.37 GB, free: 7.656 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.4844, allocations: 0 / 1.37 GB, free: 7.656 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.4845, allocations: 0 / 1.37 GB, free: 7.656 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.4845, allocations: 4 kB / 1.37 GB, free: 7.652 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.4949, allocations: 1.861 MB / 1.371 GB, free: 5.789 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006585/0.5015, allocations: 1.407 MB / 1.373 GB, free: 4.336 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/0.5116, allocations: 1.872 MB / 1.375 GB, free: 2.453 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005119/0.5167, allocations: 0.9413 MB / 1.375 GB, free: 1.508 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.5168, allocations: 0 / 1.375 GB, free: 1.508 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.5168, allocations: 34.56 kB / 1.375 GB, free: 1.465 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.5168, allocations: 0 / 1.375 GB, free: 1.465 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.01522/0.532, allocations: 2.737 MB / 1.378 GB, free: 14.72 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.5321, allocations: 51.41 kB / 1.378 GB, free: 14.66 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.5322, allocations: 117.8 kB / 1.378 GB, free: 14.53 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.5323, allocations: 25.7 kB / 1.378 GB, free: 14.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.5324, allocations: 92.09 kB / 1.378 GB, free: 14.41 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.5324, allocations: 0 / 1.378 GB, free: 14.41 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.5325, allocations: 25.67 kB / 1.378 GB, free: 14.38 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.5327, allocations: 326.8 kB / 1.379 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0051/0.5378, allocations: 0.9287 MB / 1.38 GB, free: 13.12 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005097/0.5429, allocations: 0.9326 MB / 1.381 GB, free: 12.18 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009471/0.5524, allocations: 1.683 MB / 1.382 GB, free: 10.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.5524, allocations: 0 / 1.382 GB, free: 10.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.01006/0.5624, allocations: 1.816 MB / 1.384 GB, free: 8.672 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.5625, allocations: 4 kB / 1.384 GB, free: 8.668 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.5625, allocations: 0 / 1.384 GB, free: 8.668 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.5625, allocations: 0 / 1.384 GB, free: 8.668 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/0.5654, allocations: 463.5 kB / 1.384 GB, free: 8.215 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.5654, allocations: 3.984 kB / 1.384 GB, free: 8.211 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/0.5682, allocations: 459.5 kB / 1.385 GB, free: 7.762 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.5682, allocations: 7.984 kB / 1.385 GB, free: 7.754 MB / 1.076 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.0001629/0.5684, allocations: 121.8 kB / 1.385 GB, free: 7.625 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.5685, allocations: 7.891 kB / 1.385 GB, free: 7.617 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.708e-05/0.5685, allocations: 11.62 kB / 1.385 GB, free: 7.605 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5685, allocations: 0 / 1.385 GB, free: 7.605 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5685, allocations: 0 / 1.385 GB, free: 7.605 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5685, allocations: 0 / 1.385 GB, free: 7.605 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.569, allocations: 273.4 kB / 1.385 GB, free: 7.289 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.569, allocations: 0 / 1.385 GB, free: 7.289 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002919/0.5719, allocations: 467.4 kB / 1.386 GB, free: 6.832 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.5719, allocations: 0 / 1.386 GB, free: 6.832 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.48e-05/0.5719, allocations: 3.984 kB / 1.386 GB, free: 6.828 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.5719, allocations: 3.984 kB / 1.386 GB, free: 6.824 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5719, allocations: 7.938 kB / 1.386 GB, free: 6.816 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/0.5821, allocations: 1.904 MB / 1.388 GB, free: 4.895 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.317e-05/0.5821, allocations: 4.328 kB / 1.388 GB, free: 4.891 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.085e-05/0.5822, allocations: 4 kB / 1.388 GB, free: 4.887 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002816/0.585, allocations: 451.5 kB / 1.388 GB, free: 4.445 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.5851, allocations: 0 / 1.388 GB, free: 4.445 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/0.5851, allocations: 15.92 kB / 1.388 GB, free: 4.43 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.308e-05/0.5852, allocations: 91.27 kB / 1.388 GB, free: 4.34 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.5852, allocations: 0 / 1.388 GB, free: 4.34 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003013/0.5855, allocations: 36 kB / 1.388 GB, free: 4.305 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.0106/0.5961, allocations: 2.441 MB / 1.391 GB, free: 1.836 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0104/0.6065, allocations: 1.873 MB / 1.392 GB, free: 15.96 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.383e-06/0.6065, allocations: 4 kB / 1.392 GB, free: 15.96 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.005179/0.6117, allocations: 0.9326 MB / 1.393 GB, free: 15.02 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.612, allocations: 4 kB / 1.393 GB, free: 15.02 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03249/0.6445, allocations: 6.813 MB / 1.4 GB, free: 8.125 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.016e-05/0.6445, allocations: 67.25 kB / 1.4 GB, free: 8.039 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003117/0.6449, allocations: 32.03 kB / 1.4 GB, free: 8.008 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.6451, allocations: 27.41 kB / 1.4 GB, free: 7.98 MB / 1.092 GB Notification: Performance of SimCode: time 1.152e-06/0.6451, allocations: 0 / 1.4 GB, free: 7.98 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/0.6804, allocations: 4.194 MB / 1.404 GB, free: 3.902 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.99, allocations: 1.688 kB / 1.404 GB, free: 3.902 MB / 1.092 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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: 19.371188369113952]