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.001698/0.001698, 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.001731/0.001731, allocations: 210 kB / 22.24 MB, free: 5.258 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.568/1.568, allocations: 230.6 MB / 256 MB, free: 7.734 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 3/3, allocations: 476 MB / 0.7699 GB, free: 4.711 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.002123/0.002123, allocations: 71.66 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3808, allocations: 169.9 MB / 1.283 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003331/0.3841, allocations: 1.767 MB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.3855, allocations: 0.6875 MB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.763e-05/0.3856, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.441e-05/0.3856, allocations: 19.8 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.522e-05/0.3857, allocations: 15.8 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000692/0.3864, allocations: 187.2 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.3866, allocations: 123.6 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.3868, allocations: 41.59 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.387, allocations: 71.77 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.813e-05/0.3871, allocations: 43.77 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.3871, allocations: 12 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.3872, allocations: 43.97 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.3873, allocations: 35.89 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.979e-05/0.3873, allocations: 47.78 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.3876, allocations: 162.9 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3876, allocations: 7.938 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3876, allocations: 0 / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3876, allocations: 3.938 kB / 1.286 GB, free: 9.238 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.00068/0.3883, allocations: 357.7 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.3883, allocations: 12.03 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.648e-05/0.3884, allocations: 38.73 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.3894, allocations: 136.6 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.3898, allocations: 158 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.3899, allocations: 119.1 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.3899, allocations: 12 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005666/0.3905, allocations: 220.8 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3905, allocations: 0 / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.3905, allocations: 8 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3905, allocations: 0 / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006236/0.3912, allocations: 155.8 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.3923, allocations: 432.9 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.3934, allocations: 210.3 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.3937, allocations: 84.83 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.3937, allocations: 8 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.3938, allocations: 34.5 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.3938, allocations: 0 / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.001115/0.3949, allocations: 261.4 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.3949, allocations: 51.41 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3951, allocations: 138.4 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.3951, allocations: 29.7 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.903e-05/0.3952, allocations: 112.3 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.3952, allocations: 19.78 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.3953, allocations: 25.7 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3955, allocations: 322.8 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.3958, allocations: 83.84 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.3961, allocations: 90.5 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005985/0.3967, allocations: 166.7 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3967, allocations: 0 / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006993/0.3974, allocations: 201.4 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.3974, allocations: 10.56 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3974, allocations: 4 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3975, allocations: 0 / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.3978, allocations: 47.88 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3978, allocations: 0 / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.398, allocations: 19.97 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.398, allocations: 4 kB / 1.289 GB, free: 5.492 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.0001189/0.3981, allocations: 129.7 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.3981, allocations: 15.84 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007561/0.3989, allocations: 202.2 kB / 1.289 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3989, allocations: 4 kB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.3989, allocations: 4 kB / 1.289 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3989, allocations: 0 / 1.289 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.3992, allocations: 189.4 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3992, allocations: 3.984 kB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.3994, allocations: 31.95 kB / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3994, allocations: 0 / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.3994, allocations: 7.984 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3994, allocations: 0 / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3994, allocations: 0 / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007232/0.4002, allocations: 295.4 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.4002, allocations: 15.91 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.4002, allocations: 0 / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.4005, allocations: 27.95 kB / 1.29 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.4006, allocations: 11.98 kB / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.4006, allocations: 11.98 kB / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.866e-05/0.4007, allocations: 105.3 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4007, allocations: 0 / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002663/0.4009, allocations: 23.94 kB / 1.29 GB, free: 4.363 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.001112/0.402, allocations: 0.8255 MB / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006685/0.4027, allocations: 159.8 kB / 1.291 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4027, allocations: 4 kB / 1.291 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.403, allocations: 79.98 kB / 1.291 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.4033, allocations: 8 kB / 1.291 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/0.4067, allocations: 1.845 MB / 1.293 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.695e-05/0.4068, allocations: 89.19 kB / 1.293 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.4069, allocations: 15.98 kB / 1.293 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.066e-05/0.407, allocations: 39.36 kB / 1.293 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.407, allocations: 0 / 1.293 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03764/0.4446, allocations: 3.456 MB / 1.297 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.85, allocations: 0 / 1.297 GB, free: 13.86 MB / 0.9981 GB " [Timeout remaining time 287] (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: 19.15160348219797]