Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001801/0.001801, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.003181/0.003181, allocations: 218.5 kB / 22.25 MB, free: 5.105 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.529/1.529, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.421/3.421, allocations: 0.49 GB / 0.7951 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_12_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.002206/0.002206, allocations: 68.02 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3764, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003149/0.3795, allocations: 1.772 MB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.3808, allocations: 0.6897 MB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.528e-05/0.3809, allocations: 7.938 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.109e-05/0.3809, allocations: 7.875 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.385e-05/0.381, allocations: 19.8 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006139/0.3816, allocations: 191.2 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.3818, allocations: 127.6 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.382, allocations: 49.72 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.3821, allocations: 59.84 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.642e-05/0.3822, allocations: 47.77 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.3822, allocations: 15.94 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.3824, allocations: 55.95 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.82e-05/0.3824, allocations: 31.84 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.3825, allocations: 43.78 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.3827, allocations: 163.3 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3827, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3827, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3827, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 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.0006183/0.3833, allocations: 366.9 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3834, allocations: 12.03 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.89e-05/0.3834, allocations: 42.75 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009749/0.3844, allocations: 128.6 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.3847, allocations: 160.8 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.3848, allocations: 119.1 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.3848, allocations: 8 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005503/0.3854, allocations: 212.9 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3854, allocations: 4 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.3854, allocations: 8 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.3854, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006126/0.386, allocations: 151.8 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.3871, allocations: 441 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.3881, allocations: 218.3 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/0.3884, allocations: 76.89 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.3885, allocations: 4 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.3885, allocations: 38.5 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3885, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.001064/0.3896, allocations: 257.4 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.3896, allocations: 59.34 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.3897, allocations: 136.1 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.3898, allocations: 29.7 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.603e-05/0.3899, allocations: 120.2 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.3899, allocations: 19.84 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.39, allocations: 25.7 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3901, allocations: 322.8 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.3904, allocations: 67.92 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.3908, allocations: 90.5 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006197/0.3914, allocations: 170.4 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.3914, allocations: 0 / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007218/0.3921, allocations: 205.6 kB / 1.332 GB, free: 10.56 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3921, allocations: 14.02 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3921, allocations: 0 / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3921, allocations: 0 / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.3924, allocations: 43.95 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3924, allocations: 4 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.3926, allocations: 27.86 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.3926, allocations: 7.984 kB / 1.332 GB, free: 10.46 MB / 1.029 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.0001231/0.3927, allocations: 120.1 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.3928, allocations: 7.953 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007358/0.3935, allocations: 210.2 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3935, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3935, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3935, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.3938, allocations: 197.4 kB / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3938, allocations: 4 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.394, allocations: 31.95 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.394, allocations: 4 kB / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.394, allocations: 0 / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.394, allocations: 0 / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.394, allocations: 0 / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007321/0.3948, allocations: 295.2 kB / 1.333 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.3948, allocations: 15.89 kB / 1.333 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.3948, allocations: 0 / 1.333 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.3951, allocations: 27.95 kB / 1.333 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.3952, allocations: 7.984 kB / 1.333 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.3952, allocations: 12.17 kB / 1.333 GB, free: 9.477 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.889e-05/0.3953, allocations: 109.3 kB / 1.333 GB, free: 9.371 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3953, allocations: 0 / 1.333 GB, free: 9.371 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002673/0.3956, allocations: 23.94 kB / 1.333 GB, free: 9.348 MB / 1.029 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.001134/0.3967, allocations: 0.8216 MB / 1.334 GB, free: 8.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006985/0.3974, allocations: 163.8 kB / 1.334 GB, free: 8.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3974, allocations: 0 / 1.334 GB, free: 8.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003258/0.3977, allocations: 79.86 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.398, allocations: 11.98 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.4015, allocations: 1.842 MB / 1.336 GB, free: 6.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.706e-05/0.4016, allocations: 89.19 kB / 1.336 GB, free: 6.215 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.4017, allocations: 19.73 kB / 1.336 GB, free: 6.195 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.93e-05/0.4018, allocations: 35.42 kB / 1.336 GB, free: 6.16 MB / 1.029 GB Notification: Performance of SimCode: time 1.092e-06/0.4018, allocations: 3.938 kB / 1.336 GB, free: 6.156 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03159/0.4334, allocations: 3.499 MB / 1.34 GB, free: 2.797 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.55, allocations: 6.406 kB / 1.34 GB, free: 2.793 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMax.u1 from file Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! Error: Could not read variable smoMax.u2 in file Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMax.u2 from file Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! Error: Could not read variable smoMin.y in file Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMin.y from file Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.800997140002437]