Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.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.001606/0.001606, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001498/0.001498, allocations: 214.8 kB / 22.25 MB, free: 5.078 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.933/2.933, allocations: 476.7 MB / 0.7707 GB, free: 4.246 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SmoothBlocks,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothBlocks",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.002031/0.002031, allocations: 71.47 kB / 1.117 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3729, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003201/0.3761, allocations: 1.821 MB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3775, allocations: 0.7458 MB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.329e-05/0.3776, allocations: 0 / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.484e-05/0.3776, allocations: 11.86 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.253e-05/0.3777, allocations: 19.75 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006535/0.3783, allocations: 185.3 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.3785, allocations: 123.7 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.3787, allocations: 49.09 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.3789, allocations: 67.7 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.993e-05/0.379, allocations: 47.78 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.379, allocations: 12 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.3791, allocations: 51.97 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.793e-05/0.3792, allocations: 35.89 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.3792, allocations: 59.66 kB / 1.287 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.3795, allocations: 147.4 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.3795, allocations: 7.984 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3795, allocations: 0 / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.3795, allocations: 0 / 1.287 GB, free: 8.348 MB / 0.9825 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.0006283/0.3801, allocations: 369.6 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3802, allocations: 8.031 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.114e-05/0.3802, allocations: 46.73 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009974/0.3812, allocations: 128.7 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.3815, allocations: 150.9 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.3816, allocations: 119.1 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.3817, allocations: 12 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005385/0.3822, allocations: 175.6 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3822, allocations: 0 / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.3822, allocations: 0 / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3823, allocations: 4 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005894/0.3828, allocations: 159.8 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.384, allocations: 464.8 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009848/0.3849, allocations: 210.3 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.3852, allocations: 80.91 kB / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.3853, allocations: 3.938 kB / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.3853, allocations: 34.5 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3853, allocations: 3.938 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.001034/0.3863, allocations: 261.4 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.3864, allocations: 51.41 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.3865, allocations: 153.6 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.3865, allocations: 25.7 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.266e-05/0.3866, allocations: 112.2 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.3867, allocations: 23.84 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.958e-05/0.3867, allocations: 29.64 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3869, allocations: 318.8 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.3872, allocations: 75.92 kB / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/0.3875, allocations: 94.48 kB / 1.29 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005806/0.3881, allocations: 166.6 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3881, allocations: 0 / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006646/0.3887, allocations: 213.4 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3888, allocations: 8 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3888, allocations: 0 / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3888, allocations: 0 / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.389, allocations: 39.89 kB / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3891, allocations: 0 / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.3892, allocations: 31.89 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.3893, allocations: 7.984 kB / 1.29 GB, free: 4.605 MB / 0.9825 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.0001109/0.3894, allocations: 121.8 kB / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.3894, allocations: 7.953 kB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007291/0.3901, allocations: 206.2 kB / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3901, allocations: 0 / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3902, allocations: 3.938 kB / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3902, allocations: 0 / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.3904, allocations: 205.3 kB / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3904, allocations: 4 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.3907, allocations: 35.95 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3907, allocations: 4 kB / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.3907, allocations: 3.984 kB / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3907, allocations: 3.938 kB / 1.291 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3907, allocations: 0 / 1.291 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006836/0.3914, allocations: 291.4 kB / 1.291 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.147e-05/0.3914, allocations: 11.91 kB / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.3914, allocations: 0 / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/0.3917, allocations: 31.95 kB / 1.291 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.3918, allocations: 7.984 kB / 1.291 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.3918, allocations: 7.938 kB / 1.291 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.301e-05/0.3919, allocations: 111.2 kB / 1.291 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3919, allocations: 0 / 1.291 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002746/0.3921, allocations: 27.94 kB / 1.291 GB, free: 3.469 MB / 0.9825 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.001037/0.3932, allocations: 0.8177 MB / 1.292 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006998/0.3939, allocations: 155.8 kB / 1.292 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.3939, allocations: 8.062 kB / 1.292 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.3942, allocations: 79.91 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.3945, allocations: 11.94 kB / 1.292 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.3977, allocations: 1.848 MB / 1.294 GB, free: 448 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.398, allocations: 0.7002 MB / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.15e-05/0.3981, allocations: 12 kB / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.197e-05/0.3982, allocations: 31.42 kB / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of SimCode: time 1.142e-06/0.3982, allocations: 4 kB / 1.295 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.4281, allocations: 2.952 MB / 1.298 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.17, allocations: 10.08 kB / 1.298 GB, free: 12.84 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_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_SmoothBlocks.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable smoMax.u1 in file Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMax.u1 from file Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! Error: Could not read variable smoMax.u2 in file Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMax.u2 from file Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! Error: Could not read variable smoMin.y in file Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMin.y from file Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.208240200001455]