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.001389/0.001389, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001577/0.001577, allocations: 213.9 kB / 22.25 MB, free: 5.242 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.801 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.828/2.828, allocations: 476 MB / 0.7699 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 177] 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.002925/0.002925, allocations: 68.95 kB / 1.117 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3634, allocations: 169.9 MB / 1.283 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007473/0.3709, allocations: 4.423 MB / 1.287 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.3721, allocations: 0.7517 MB / 1.288 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.975e-05/0.3722, allocations: 0 / 1.288 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.3724, allocations: 27.78 kB / 1.288 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.732e-05/0.3724, allocations: 35.7 kB / 1.288 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005938/0.373, allocations: 183.3 kB / 1.288 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.3733, allocations: 179.3 kB / 1.288 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.915e-05/0.3734, allocations: 5.312 kB / 1.288 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.3736, allocations: 91.69 kB / 1.288 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.3737, allocations: 71.72 kB / 1.288 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.3737, allocations: 12 kB / 1.288 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.374, allocations: 139.8 kB / 1.288 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.3741, allocations: 31.86 kB / 1.288 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.184e-05/0.3742, allocations: 59.7 kB / 1.288 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005024/0.3747, allocations: 235.5 kB / 1.289 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3747, allocations: 4 kB / 1.289 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3747, allocations: 0 / 1.289 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.3747, allocations: 4 kB / 1.289 GB, free: 13.91 MB / 0.9981 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.0008932/0.3756, allocations: 405.4 kB / 1.289 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3756, allocations: 8.031 kB / 1.289 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.723e-05/0.3757, allocations: 38.75 kB / 1.289 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.3757, allocations: 16.84 kB / 1.289 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.3758, allocations: 126.4 kB / 1.289 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.3759, allocations: 8.375 kB / 1.289 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.3759, allocations: 16.36 kB / 1.289 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.3762, allocations: 117.5 kB / 1.289 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3762, allocations: 4 kB / 1.289 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.3762, allocations: 4 kB / 1.289 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3763, allocations: 3.984 kB / 1.289 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.3767, allocations: 143.9 kB / 1.29 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.3777, allocations: 419.5 kB / 1.29 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.378, allocations: 114.5 kB / 1.29 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.3782, allocations: 64.81 kB / 1.29 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/0.3795, allocations: 472.3 kB / 1.291 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.3795, allocations: 42.55 kB / 1.291 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.3795, allocations: 0 / 1.291 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0007015/0.3802, allocations: 217.3 kB / 1.291 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.3803, allocations: 51.41 kB / 1.291 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.3804, allocations: 167.3 kB / 1.291 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.3805, allocations: 29.7 kB / 1.291 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.3805, allocations: 112.4 kB / 1.291 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.3806, allocations: 39.64 kB / 1.291 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.211e-05/0.3807, allocations: 49.64 kB / 1.291 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3808, allocations: 326.8 kB / 1.292 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.381, allocations: 75.94 kB / 1.292 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.3813, allocations: 108.7 kB / 1.292 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/0.3817, allocations: 173.9 kB / 1.292 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3817, allocations: 3.938 kB / 1.292 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000583/0.3823, allocations: 245.2 kB / 1.292 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.3824, allocations: 4 kB / 1.292 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.3824, allocations: 7.938 kB / 1.292 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3824, allocations: 0 / 1.292 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.3827, allocations: 60.05 kB / 1.292 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3827, allocations: 4 kB / 1.292 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.3828, allocations: 31.83 kB / 1.292 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.3829, allocations: 7.938 kB / 1.292 GB, free: 10.04 MB / 0.9981 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.0001234/0.383, allocations: 125.8 kB / 1.292 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.383, allocations: 7.953 kB / 1.292 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005303/0.3835, allocations: 191.1 kB / 1.293 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.3835, allocations: 4 kB / 1.293 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3835, allocations: 0 / 1.293 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.3836, allocations: 3.984 kB / 1.293 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.3838, allocations: 168.7 kB / 1.293 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3838, allocations: 0 / 1.293 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.384, allocations: 31.97 kB / 1.293 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.384, allocations: 0 / 1.293 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.384, allocations: 11.94 kB / 1.293 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.384, allocations: 4 kB / 1.293 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.384, allocations: 0 / 1.293 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.3845, allocations: 259.2 kB / 1.293 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.3846, allocations: 23.83 kB / 1.293 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.3846, allocations: 7.938 kB / 1.293 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.3848, allocations: 15.98 kB / 1.293 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.3848, allocations: 7.984 kB / 1.293 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.3848, allocations: 8 kB / 1.293 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001817/0.385, allocations: 112 kB / 1.293 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.385, allocations: 0 / 1.293 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003579/0.3854, allocations: 63.86 kB / 1.293 GB, free: 8.93 MB / 0.9981 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.001104/0.3865, allocations: 0.8448 MB / 1.294 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005293/0.387, allocations: 164 kB / 1.294 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.387, allocations: 4 kB / 1.294 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.3872, allocations: 67.88 kB / 1.294 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.3876, allocations: 23.98 kB / 1.294 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.3906, allocations: 1.962 MB / 1.296 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.257e-05/0.3907, allocations: 97.48 kB / 1.296 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.988e-05/0.3908, allocations: 27.42 kB / 1.296 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.681e-05/0.3909, allocations: 31.44 kB / 1.296 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.3909, allocations: 0 / 1.296 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03443/0.4254, allocations: 4.925 MB / 1.301 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.84, allocations: 12.17 kB / 1.301 GB, free: 0.832 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.534781761933118]