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.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.001366/0.001366, 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.001705/0.001705, 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 7.73 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.417/3.417, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.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: 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.002546/0.002546, allocations: 70.53 kB / 1.186 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4516, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003433/0.455, allocations: 1.769 MB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.4565, allocations: 0.6906 MB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.98e-05/0.4566, allocations: 4 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.315e-05/0.4566, allocations: 11.86 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.084e-05/0.4567, allocations: 15.8 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007007/0.4574, allocations: 190.4 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.4576, allocations: 127.6 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.4578, allocations: 41.83 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.458, allocations: 59.83 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.4581, allocations: 47.7 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.4581, allocations: 15.94 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.4582, allocations: 47.95 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.093e-05/0.4583, allocations: 35.91 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.768e-05/0.4583, allocations: 43.78 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.4586, allocations: 163.4 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.4586, allocations: 0 / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4586, allocations: 0 / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.4586, allocations: 0 / 1.367 GB, free: 10.79 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006995/0.4593, allocations: 357.7 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.4594, allocations: 16.02 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.665e-05/0.4594, allocations: 38.75 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009794/0.4604, allocations: 132.6 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.4608, allocations: 158.8 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/0.4609, allocations: 123.1 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.4609, allocations: 8 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/0.4615, allocations: 220.8 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4615, allocations: 0 / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.4615, allocations: 11.94 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.4615, allocations: 0 / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006085/0.4622, allocations: 159.8 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.4633, allocations: 432.8 kB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.4643, allocations: 210.3 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.4646, allocations: 84.89 kB / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.4646, allocations: 0 / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.4647, allocations: 42.5 kB / 1.368 GB, free: 8.672 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.4647, allocations: 0 / 1.368 GB, free: 8.672 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.001076/0.4657, allocations: 261.3 kB / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.4658, allocations: 55.41 kB / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.4659, allocations: 137.1 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.466, allocations: 29.7 kB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.998e-05/0.466, allocations: 116.2 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.4661, allocations: 15.89 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.978e-05/0.4661, allocations: 21.7 kB / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4663, allocations: 318.8 kB / 1.369 GB, free: 7.684 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003126/0.4666, allocations: 79.91 kB / 1.369 GB, free: 7.605 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/0.4669, allocations: 90.5 kB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006032/0.4675, allocations: 166.6 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.4675, allocations: 4 kB / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006756/0.4682, allocations: 209.4 kB / 1.37 GB, free: 7.121 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.4682, allocations: 8 kB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.4682, allocations: 0 / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.4682, allocations: 7.969 kB / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.4685, allocations: 35.95 kB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.4685, allocations: 3.938 kB / 1.37 GB, free: 7.066 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.4687, allocations: 27.91 kB / 1.37 GB, free: 7.039 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.4687, allocations: 4 kB / 1.37 GB, free: 7.035 MB / 1.061 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.0001217/0.4688, allocations: 129.7 kB / 1.37 GB, free: 6.898 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.4689, allocations: 7.953 kB / 1.37 GB, free: 6.891 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007587/0.4696, allocations: 206.2 kB / 1.37 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.4697, allocations: 0 / 1.37 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4697, allocations: 0 / 1.37 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4697, allocations: 0 / 1.37 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.4699, allocations: 197.4 kB / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4699, allocations: 0 / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.4702, allocations: 31.95 kB / 1.371 GB, free: 6.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.4702, allocations: 4 kB / 1.371 GB, free: 6.406 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.4702, allocations: 0 / 1.371 GB, free: 6.406 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4702, allocations: 0 / 1.371 GB, free: 6.406 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4702, allocations: 7.938 kB / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000719/0.4709, allocations: 287.2 kB / 1.371 GB, free: 6.102 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.4709, allocations: 11.95 kB / 1.371 GB, free: 6.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.4709, allocations: 192 / 1.371 GB, free: 6.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/0.4712, allocations: 35.95 kB / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.4713, allocations: 7.984 kB / 1.371 GB, free: 6.047 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.4713, allocations: 11.98 kB / 1.371 GB, free: 6.035 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.128e-05/0.4714, allocations: 105.5 kB / 1.371 GB, free: 5.934 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4714, allocations: 0 / 1.371 GB, free: 5.934 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002721/0.4717, allocations: 31.88 kB / 1.371 GB, free: 5.902 MB / 1.061 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.001158/0.4728, allocations: 0.8177 MB / 1.372 GB, free: 5.059 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007109/0.4735, allocations: 159.8 kB / 1.372 GB, free: 4.902 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4736, allocations: 4.125 kB / 1.372 GB, free: 4.898 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003177/0.4739, allocations: 75.92 kB / 1.372 GB, free: 4.824 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.4742, allocations: 10.03 kB / 1.372 GB, free: 4.816 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003412/0.4776, allocations: 1.846 MB / 1.374 GB, free: 2.883 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.971e-05/0.4777, allocations: 89.19 kB / 1.374 GB, free: 2.777 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.4778, allocations: 15.98 kB / 1.374 GB, free: 2.762 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.4779, allocations: 31.42 kB / 1.374 GB, free: 2.73 MB / 1.061 GB Notification: Performance of SimCode: time 9.51e-07/0.4779, allocations: 7.938 kB / 1.374 GB, free: 2.723 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03433/0.5122, allocations: 3.465 MB / 1.377 GB, free: 15.4 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.9, allocations: 11.33 kB / 1.377 GB, free: 15.39 MB / 1.076 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMax.u1 from file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! Error: Could not read variable smoMax.u2 in file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMax.u2 from file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! Error: Could not read variable smoMin.y in file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv. Warning: Get data of variable smoMin.y from file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.232245670165867]