Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001482/0.001482, allocations: 103 kB / 16.45 MB, free: 6.449 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.001525/0.001525, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.515/1.515, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.264/3.264, allocations: 0.505 GB / 0.8066 GB, free: 23.13 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.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_latest_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.002056/0.002056, allocations: 75.28 kB / 1.172 GB, free: 17.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3659, allocations: 180.2 MB / 1.348 GB, free: 10.1 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006672/0.3726, allocations: 4.679 MB / 1.352 GB, free: 5.398 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.3738, allocations: 0.8139 MB / 1.353 GB, free: 4.582 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.3739, allocations: 4 kB / 1.353 GB, free: 4.578 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.3741, allocations: 27.77 kB / 1.353 GB, free: 4.551 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.385e-05/0.3741, allocations: 35.7 kB / 1.353 GB, free: 4.516 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005648/0.3747, allocations: 175.3 kB / 1.353 GB, free: 4.344 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.3749, allocations: 175.4 kB / 1.354 GB, free: 4.172 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.375, allocations: 21.05 kB / 1.354 GB, free: 4.148 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.3752, allocations: 87.69 kB / 1.354 GB, free: 4.062 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.3753, allocations: 75.72 kB / 1.354 GB, free: 3.988 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.3754, allocations: 16 kB / 1.354 GB, free: 3.973 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003372/0.3757, allocations: 147.8 kB / 1.354 GB, free: 3.828 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.285e-05/0.3757, allocations: 35.89 kB / 1.354 GB, free: 3.793 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.662e-05/0.3758, allocations: 67.66 kB / 1.354 GB, free: 3.727 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.3762, allocations: 243.4 kB / 1.354 GB, free: 3.488 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3762, allocations: 0 / 1.354 GB, free: 3.488 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3762, allocations: 0 / 1.354 GB, free: 3.488 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3762, allocations: 0 / 1.354 GB, free: 3.488 MB / 1.045 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.0009352/0.3771, allocations: 490.5 kB / 1.355 GB, free: 2.961 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3772, allocations: 11.98 kB / 1.355 GB, free: 2.949 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.834e-05/0.3772, allocations: 42.73 kB / 1.355 GB, free: 2.898 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/0.3773, allocations: 16.84 kB / 1.355 GB, free: 2.883 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.3774, allocations: 181.5 kB / 1.355 GB, free: 2.668 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.3775, allocations: 11.94 kB / 1.355 GB, free: 2.656 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.3775, allocations: 12 kB / 1.355 GB, free: 2.645 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.3778, allocations: 125.5 kB / 1.355 GB, free: 2.516 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3779, allocations: 0 / 1.355 GB, free: 2.516 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.3779, allocations: 4 kB / 1.355 GB, free: 2.512 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3779, allocations: 4 kB / 1.355 GB, free: 2.508 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004581/0.3783, allocations: 139.9 kB / 1.355 GB, free: 2.371 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.3794, allocations: 472.4 kB / 1.356 GB, free: 1.859 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.3797, allocations: 126.4 kB / 1.356 GB, free: 1.727 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.38, allocations: 64.81 kB / 1.356 GB, free: 1.66 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/0.3814, allocations: 0.9682 MB / 1.357 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.3814, allocations: 34.56 kB / 1.357 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.3814, allocations: 0 / 1.357 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0007212/0.3821, allocations: 209.4 kB / 1.357 GB, free: 308 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.3822, allocations: 59.34 kB / 1.357 GB, free: 236 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.3824, allocations: 163.3 kB / 1.357 GB, free: 60 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.3824, allocations: 25.7 kB / 1.357 GB, free: 28 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.3825, allocations: 116.4 kB / 1.357 GB, free: 15.91 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.3825, allocations: 39.69 kB / 1.357 GB, free: 15.87 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-05/0.3826, allocations: 45.7 kB / 1.357 GB, free: 15.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3828, allocations: 322.8 kB / 1.358 GB, free: 15.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.3831, allocations: 83.88 kB / 1.358 GB, free: 15.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.3833, allocations: 103.4 kB / 1.358 GB, free: 15.3 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.3838, allocations: 180.4 kB / 1.358 GB, free: 15.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3838, allocations: 0 / 1.358 GB, free: 15.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005998/0.3844, allocations: 250.5 kB / 1.358 GB, free: 14.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3844, allocations: 8 kB / 1.358 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.3844, allocations: 3.984 kB / 1.358 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3844, allocations: 0 / 1.358 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.3847, allocations: 55.91 kB / 1.358 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3847, allocations: 0 / 1.358 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.3849, allocations: 31.83 kB / 1.358 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.3849, allocations: 11.98 kB / 1.358 GB, free: 14.75 MB / 1.061 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.0001109/0.385, allocations: 129.8 kB / 1.359 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.385, allocations: 15.84 kB / 1.359 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005122/0.3856, allocations: 183.2 kB / 1.359 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3856, allocations: 3.938 kB / 1.359 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3856, allocations: 0 / 1.359 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3856, allocations: 0 / 1.359 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.3858, allocations: 213.6 kB / 1.359 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3858, allocations: 3.938 kB / 1.359 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.386, allocations: 35.97 kB / 1.359 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.386, allocations: 0 / 1.359 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.577e-06/0.386, allocations: 0 / 1.359 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.386, allocations: 0 / 1.359 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.386, allocations: 4 kB / 1.359 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.3865, allocations: 259.2 kB / 1.359 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.604e-05/0.3866, allocations: 108.9 kB / 1.359 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.3866, allocations: 4 kB / 1.359 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.3867, allocations: 11.98 kB / 1.359 GB, free: 13.7 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.3868, allocations: 11.98 kB / 1.359 GB, free: 13.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.3868, allocations: 4 kB / 1.359 GB, free: 13.68 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.683e-05/0.3869, allocations: 116 kB / 1.36 GB, free: 13.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3869, allocations: 0 / 1.36 GB, free: 13.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003438/0.3872, allocations: 59.88 kB / 1.36 GB, free: 13.51 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 (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.000991/0.3882, allocations: 0.8548 MB / 1.36 GB, free: 12.63 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005328/0.3888, allocations: 164.7 kB / 1.361 GB, free: 12.47 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3888, allocations: 4 kB / 1.361 GB, free: 12.47 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.389, allocations: 63.89 kB / 1.361 GB, free: 12.41 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.3893, allocations: 19.98 kB / 1.361 GB, free: 12.39 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.3921, allocations: 1.963 MB / 1.363 GB, free: 10.33 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.3924, allocations: 0.7006 MB / 1.363 GB, free: 9.602 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.023e-05/0.3925, allocations: 21.56 kB / 1.363 GB, free: 9.574 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.593e-05/0.3926, allocations: 39.36 kB / 1.363 GB, free: 9.539 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.3926, allocations: 4 kB / 1.363 GB, free: 9.535 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.4226, allocations: 4.303 MB / 1.368 GB, free: 5.395 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.504/8.926, allocations: 9.516 kB / 1.368 GB, free: 5.387 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv --start-time 0 --stop-time 250 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.969290637178347]