Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.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.001422/0.001422, allocations: 107.9 kB / 16.45 MB, free: 6.035 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.001401/0.001401, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.484/1.484, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.254/3.254, allocations: 497.2 MB / 0.7811 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.SmoothBlocks,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 68.39 kB / 1.134 GB, free: 33.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3886, allocations: 173.9 MB / 1.304 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003406/0.392, allocations: 1.776 MB / 1.306 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.3934, allocations: 0.6623 MB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-05/0.3934, allocations: 0 / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.886e-05/0.3935, allocations: 11.86 kB / 1.306 GB, free: 15.06 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.023e-05/0.3936, allocations: 19.8 kB / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.3942, allocations: 170.9 kB / 1.307 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000201/0.3944, allocations: 115.7 kB / 1.307 GB, free: 14.77 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.3945, allocations: 37.38 kB / 1.307 GB, free: 14.73 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.3947, allocations: 63.72 kB / 1.307 GB, free: 14.67 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.3948, allocations: 51.75 kB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.3948, allocations: 8 kB / 1.307 GB, free: 14.61 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.3949, allocations: 51.97 kB / 1.307 GB, free: 14.56 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.395, allocations: 35.89 kB / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.139e-05/0.395, allocations: 55.72 kB / 1.307 GB, free: 14.47 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.3953, allocations: 147.4 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3953, allocations: 0 / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3953, allocations: 4 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.3953, allocations: 0 / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007491/0.3961, allocations: 438.8 kB / 1.308 GB, free: 13.84 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3961, allocations: 12.86 kB / 1.308 GB, free: 13.83 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.71e-05/0.3962, allocations: 50.73 kB / 1.308 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008188/0.397, allocations: 108.7 kB / 1.308 GB, free: 13.67 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.3972, allocations: 177.8 kB / 1.308 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.3973, allocations: 67.95 kB / 1.308 GB, free: 13.38 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.3974, allocations: 12.38 kB / 1.308 GB, free: 13.37 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005391/0.3979, allocations: 177.4 kB / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3979, allocations: 0 / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.3979, allocations: 4 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3979, allocations: 0 / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006126/0.3986, allocations: 163.8 kB / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.3997, allocations: 489.6 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009823/0.4007, allocations: 214.3 kB / 1.309 GB, free: 12.28 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.401, allocations: 76.91 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.401, allocations: 4 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.4011, allocations: 34.55 kB / 1.309 GB, free: 12.15 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.4011, allocations: 0 / 1.309 GB, free: 12.15 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.001029/0.4021, allocations: 273.2 kB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.4022, allocations: 51.41 kB / 1.309 GB, free: 11.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.4023, allocations: 142.8 kB / 1.309 GB, free: 11.67 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.4023, allocations: 29.7 kB / 1.31 GB, free: 11.63 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.992e-05/0.4024, allocations: 108.2 kB / 1.31 GB, free: 11.52 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.4024, allocations: 15.86 kB / 1.31 GB, free: 11.51 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-05/0.4025, allocations: 29.7 kB / 1.31 GB, free: 11.47 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.4027, allocations: 318.8 kB / 1.31 GB, free: 11.15 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.403, allocations: 71.92 kB / 1.31 GB, free: 11.08 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.4033, allocations: 102.5 kB / 1.31 GB, free: 10.97 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005679/0.4038, allocations: 166.6 kB / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4038, allocations: 0 / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006365/0.4045, allocations: 201.5 kB / 1.31 GB, free: 10.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.4045, allocations: 9.406 kB / 1.31 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4045, allocations: 3.938 kB / 1.31 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4045, allocations: 0 / 1.31 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.4048, allocations: 39.95 kB / 1.311 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4048, allocations: 0 / 1.311 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.405, allocations: 27.86 kB / 1.311 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.405, allocations: 11.98 kB / 1.311 GB, free: 10.51 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001151/0.4051, allocations: 121.8 kB / 1.311 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.4051, allocations: 7.953 kB / 1.311 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006993/0.4058, allocations: 206.2 kB / 1.311 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4058, allocations: 4 kB / 1.311 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4058, allocations: 0 / 1.311 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.4059, allocations: 3.938 kB / 1.311 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.4062, allocations: 242.4 kB / 1.311 GB, free: 9.863 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4062, allocations: 0 / 1.311 GB, free: 9.863 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.4064, allocations: 39.88 kB / 1.311 GB, free: 9.824 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4064, allocations: 0 / 1.311 GB, free: 9.824 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.4064, allocations: 7.938 kB / 1.311 GB, free: 9.816 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.4064, allocations: 3.984 kB / 1.311 GB, free: 9.812 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4064, allocations: 4 kB / 1.311 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000697/0.4071, allocations: 287.4 kB / 1.311 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/0.4072, allocations: 89.05 kB / 1.312 GB, free: 9.406 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.4072, allocations: 3.938 kB / 1.312 GB, free: 9.402 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.4075, allocations: 27.95 kB / 1.312 GB, free: 9.375 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.4076, allocations: 4 kB / 1.312 GB, free: 9.371 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.4076, allocations: 11.98 kB / 1.312 GB, free: 9.359 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.204e-05/0.4077, allocations: 108.6 kB / 1.312 GB, free: 9.254 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.4077, allocations: 4 kB / 1.312 GB, free: 9.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002724/0.408, allocations: 23.94 kB / 1.312 GB, free: 9.227 MB / 1.014 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 (6): * Single equations (assignments): 6 * 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.001059/0.409, allocations: 0.8177 MB / 1.313 GB, free: 8.383 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006526/0.4097, allocations: 159.8 kB / 1.313 GB, free: 8.227 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4097, allocations: 128 / 1.313 GB, free: 8.227 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.41, allocations: 79.92 kB / 1.313 GB, free: 8.148 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.4103, allocations: 11.98 kB / 1.313 GB, free: 8.137 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/0.4136, allocations: 1.828 MB / 1.315 GB, free: 6.219 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.4139, allocations: 0.704 MB / 1.315 GB, free: 5.488 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001049/0.414, allocations: 16 kB / 1.315 GB, free: 5.473 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.866e-05/0.4141, allocations: 31.42 kB / 1.315 GB, free: 5.441 MB / 1.014 GB Notification: Performance of SimCode: time 1.453e-06/0.4141, allocations: 0 / 1.315 GB, free: 5.441 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.4434, allocations: 2.776 MB / 1.318 GB, free: 2.754 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.21/8.654, allocations: 10.83 kB / 1.318 GB, free: 2.746 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.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: 15.42434302996844]