Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001412/0.001412, 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.001745/0.001745, allocations: 209.1 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.478/1.478, 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.09/3.09, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_12_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.002045/0.002045, allocations: 73.02 kB / 1.153 GB, free: 25.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3541, allocations: 176.1 MB / 1.325 GB, free: 2.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007558/0.3617, allocations: 4.417 MB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3629, allocations: 0.7633 MB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.818e-05/0.363, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.3632, allocations: 27.78 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.182e-05/0.3633, allocations: 43.64 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006791/0.364, allocations: 167.4 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.3642, allocations: 175.4 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.818e-05/0.3643, allocations: 21.22 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002269/0.3645, allocations: 79.75 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.3647, allocations: 75.72 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.3647, allocations: 16 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003763/0.3651, allocations: 135.8 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.3651, allocations: 31.84 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.86e-05/0.3652, allocations: 59.77 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.3657, allocations: 235.5 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3657, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3657, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.3657, allocations: 0 / 1.331 GB, free: 12.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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009866/0.3667, allocations: 413.4 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.3667, allocations: 8.031 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.311e-05/0.3668, allocations: 42.73 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.3668, allocations: 12.84 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.367, allocations: 123.4 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.367, allocations: 8.375 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.367, allocations: 16.38 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.3674, allocations: 121.5 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3674, allocations: 0 / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.3674, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3674, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/0.3679, allocations: 143.8 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.3689, allocations: 419.5 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.3692, allocations: 110.5 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.3694, allocations: 64.81 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/0.3707, allocations: 480.3 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.3707, allocations: 34.5 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.3707, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0007208/0.3714, allocations: 221.3 kB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.3715, allocations: 51.41 kB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.3716, allocations: 168 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.3717, allocations: 29.7 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/0.3717, allocations: 108.4 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.3718, allocations: 39.62 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-05/0.3719, allocations: 57.64 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.372, allocations: 322.8 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.3722, allocations: 79.95 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.3725, allocations: 120.5 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.3729, allocations: 161.6 kB / 1.334 GB, free: 8.711 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3729, allocations: 7.938 kB / 1.334 GB, free: 8.703 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005859/0.3735, allocations: 239.2 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3735, allocations: 8 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3735, allocations: 3.938 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3736, allocations: 4 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.3738, allocations: 56 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.3738, allocations: 3.984 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.374, allocations: 31.83 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.374, allocations: 12 kB / 1.335 GB, free: 8.348 MB / 1.029 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.000127/0.3742, allocations: 126.2 kB / 1.335 GB, free: 8.215 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.3742, allocations: 11.91 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/0.3747, allocations: 187.2 kB / 1.335 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.3747, allocations: 3.984 kB / 1.335 GB, free: 8.008 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3747, allocations: 0 / 1.335 GB, free: 8.008 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3747, allocations: 4 kB / 1.335 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.375, allocations: 172.7 kB / 1.335 GB, free: 7.793 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.375, allocations: 0 / 1.335 GB, free: 7.793 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.3751, allocations: 31.91 kB / 1.335 GB, free: 7.762 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.3751, allocations: 4 kB / 1.335 GB, free: 7.758 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3752, allocations: 3.938 kB / 1.335 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3752, allocations: 4 kB / 1.335 GB, free: 7.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3752, allocations: 0 / 1.335 GB, free: 7.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000485/0.3756, allocations: 259.3 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.331e-05/0.3757, allocations: 23.83 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.3757, allocations: 7.922 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.3759, allocations: 15.98 kB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.3759, allocations: 11.92 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.3759, allocations: 8 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001088/0.376, allocations: 116 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.376, allocations: 0 / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003482/0.3764, allocations: 63.86 kB / 1.336 GB, free: 7.238 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 (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.001006/0.3774, allocations: 0.8472 MB / 1.337 GB, free: 6.367 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004916/0.3779, allocations: 152 kB / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3779, allocations: 4 kB / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.3781, allocations: 63.89 kB / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.3785, allocations: 27.97 kB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.3813, allocations: 1.96 MB / 1.339 GB, free: 4.062 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.471e-05/0.3814, allocations: 93.62 kB / 1.339 GB, free: 3.953 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.703e-05/0.3815, allocations: 28.25 kB / 1.339 GB, free: 3.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.493e-05/0.3816, allocations: 35.42 kB / 1.339 GB, free: 3.895 MB / 1.029 GB Notification: Performance of SimCode: time 8.51e-07/0.3816, allocations: 0 / 1.339 GB, free: 3.895 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03375/0.4153, allocations: 4.928 MB / 1.344 GB, free: 15.14 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.07, allocations: 5.203 kB / 1.344 GB, free: 15.13 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.76109892129898]