Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.00231/0.00231, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.002381/0.002381, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.518/1.518, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.806/2.806, allocations: 476.7 MB / 0.7672 GB, free: 5.227 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.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.002275/0.002275, allocations: 75.89 kB / 1.112 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8459/0.8481, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007084/0.8552, allocations: 4.683 MB / 1.283 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.8565, allocations: 0.8256 MB / 1.284 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.757e-05/0.8566, allocations: 0 / 1.284 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.8568, allocations: 35.77 kB / 1.284 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.791e-05/0.8569, allocations: 31.7 kB / 1.284 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000566/0.8575, allocations: 171.4 kB / 1.284 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.8577, allocations: 179.3 kB / 1.284 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.679e-05/0.8578, allocations: 9.125 kB / 1.284 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.858, allocations: 83.69 kB / 1.284 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.8581, allocations: 83.72 kB / 1.284 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.8582, allocations: 16 kB / 1.284 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003682/0.8585, allocations: 151.8 kB / 1.284 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.869e-05/0.8586, allocations: 35.91 kB / 1.284 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.225e-05/0.8587, allocations: 67.66 kB / 1.285 GB, free: 7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004343/0.8591, allocations: 244.9 kB / 1.285 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.8591, allocations: 0 / 1.285 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.472e-06/0.8591, allocations: 0 / 1.285 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.8591, allocations: 0 / 1.285 GB, free: 6.762 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009893/0.8601, allocations: 490.5 kB / 1.285 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.8601, allocations: 12.03 kB / 1.285 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.466e-05/0.8602, allocations: 38.73 kB / 1.285 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.856e-05/0.8603, allocations: 20.78 kB / 1.285 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.8604, allocations: 176.3 kB / 1.285 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.8605, allocations: 8.375 kB / 1.285 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.8605, allocations: 20.31 kB / 1.285 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/0.8608, allocations: 123.8 kB / 1.286 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.8609, allocations: 0 / 1.286 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.8609, allocations: 8 kB / 1.286 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.8609, allocations: 0 / 1.286 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.8613, allocations: 143.9 kB / 1.286 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.8624, allocations: 460.5 kB / 1.286 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.8628, allocations: 130.4 kB / 1.286 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.863, allocations: 64.81 kB / 1.286 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001636/0.8646, allocations: 0.9566 MB / 1.287 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.304e-05/0.8647, allocations: 38.56 kB / 1.287 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 2.916e-06/0.8647, allocations: 0 / 1.287 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.00078/0.8655, allocations: 217.3 kB / 1.288 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.8655, allocations: 55.41 kB / 1.288 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.8657, allocations: 164 kB / 1.288 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.8657, allocations: 29.7 kB / 1.288 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.694e-05/0.8658, allocations: 108.5 kB / 1.288 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.8659, allocations: 43.64 kB / 1.288 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.346e-05/0.866, allocations: 41.7 kB / 1.288 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.8661, allocations: 326.8 kB / 1.288 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.8664, allocations: 75.94 kB / 1.288 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.8667, allocations: 113.5 kB / 1.288 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.8671, allocations: 173.9 kB / 1.289 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8671, allocations: 0 / 1.289 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006206/0.8678, allocations: 245.3 kB / 1.289 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.8678, allocations: 8.094 kB / 1.289 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.8678, allocations: 3.938 kB / 1.289 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.8678, allocations: 4 kB / 1.289 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.8681, allocations: 51.91 kB / 1.289 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.8681, allocations: 0 / 1.289 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.8683, allocations: 39.75 kB / 1.289 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.8683, allocations: 8 kB / 1.289 GB, free: 2.043 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.0001299/0.8684, allocations: 121.8 kB / 1.289 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.8685, allocations: 11.95 kB / 1.289 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005504/0.869, allocations: 190.7 kB / 1.289 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.869, allocations: 0 / 1.289 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.869, allocations: 0 / 1.289 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.869, allocations: 0 / 1.289 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.8693, allocations: 221.5 kB / 1.289 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.8693, allocations: 4 kB / 1.289 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.8695, allocations: 27.97 kB / 1.29 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.8695, allocations: 0 / 1.29 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.8695, allocations: 11.94 kB / 1.29 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.8695, allocations: 0 / 1.29 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8695, allocations: 0 / 1.29 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005115/0.87, allocations: 263.2 kB / 1.29 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.213e-05/0.8701, allocations: 97.03 kB / 1.29 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.8701, allocations: 7.938 kB / 1.29 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.8703, allocations: 15.98 kB / 1.29 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.8703, allocations: 7.984 kB / 1.29 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.8703, allocations: 4 kB / 1.29 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.836e-05/0.8704, allocations: 116 kB / 1.29 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8704, allocations: 4 kB / 1.29 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003593/0.8708, allocations: 71.81 kB / 1.29 GB, free: 0.7891 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 (12): * Single equations (assignments): 12 * 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.001077/0.8719, allocations: 0.846 MB / 1.291 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005507/0.8724, allocations: 164.9 kB / 1.291 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8724, allocations: 0 / 1.291 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.8726, allocations: 63.94 kB / 1.291 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.873, allocations: 23.98 kB / 1.291 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.876, allocations: 1.967 MB / 1.293 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.8764, allocations: 0.7122 MB / 1.294 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.59e-05/0.8765, allocations: 17.08 kB / 1.294 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.441e-05/0.8766, allocations: 35.42 kB / 1.294 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of SimCode: time 1.162e-06/0.8766, allocations: 0 / 1.294 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0285/0.9051, allocations: 4.312 MB / 1.298 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.452/9.357, allocations: 10.17 kB / 1.298 GB, free: 8.672 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv --start-time 0 --stop-time 250 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.796740066958591]