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.001655/0.001655, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002158/0.002158, allocations: 220.6 kB / 22.25 MB, free: 5.105 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.508/1.508, 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 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.272/3.272, allocations: 0.49 GB / 0.7951 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] 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.002025/0.002025, allocations: 76.5 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3635, allocations: 176.1 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007838/0.3713, allocations: 4.425 MB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.3726, allocations: 0.7672 MB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.3727, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.373, allocations: 23.78 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.3731, allocations: 39.7 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006988/0.3738, allocations: 171.4 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.374, allocations: 175.3 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3741, allocations: 17.58 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.3744, allocations: 87.73 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.3745, allocations: 83.67 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.3746, allocations: 12 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003908/0.3749, allocations: 135.8 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.954e-05/0.375, allocations: 35.91 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.692e-05/0.3751, allocations: 55.78 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004783/0.3755, allocations: 243 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3755, allocations: 0 / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3755, allocations: 0 / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.749e-06/0.3756, allocations: 0 / 1.332 GB, free: 11.17 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.001007/0.3766, allocations: 409.5 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3766, allocations: 11.97 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.197e-05/0.3767, allocations: 38.75 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.819e-05/0.3767, allocations: 12.84 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.3769, allocations: 124.7 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.3769, allocations: 8.375 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.3769, allocations: 16.38 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.3773, allocations: 121.5 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3773, allocations: 0 / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3773, allocations: 4 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.3773, allocations: 0 / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.3777, allocations: 141.8 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.3788, allocations: 427.5 kB / 1.333 GB, free: 9.773 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.3791, allocations: 118.4 kB / 1.333 GB, free: 9.648 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.3793, allocations: 69.06 kB / 1.333 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/0.3805, allocations: 480 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.3806, allocations: 38.56 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.3806, allocations: 0 / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0007106/0.3813, allocations: 217.3 kB / 1.334 GB, free: 8.824 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.3813, allocations: 55.39 kB / 1.334 GB, free: 8.758 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.3815, allocations: 160.2 kB / 1.334 GB, free: 8.586 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.3816, allocations: 29.7 kB / 1.334 GB, free: 8.551 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.224e-05/0.3816, allocations: 112.4 kB / 1.334 GB, free: 8.438 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.3817, allocations: 47.67 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-05/0.3818, allocations: 49.66 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3819, allocations: 322.8 kB / 1.335 GB, free: 8.012 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.3822, allocations: 79.94 kB / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.3824, allocations: 110.6 kB / 1.335 GB, free: 7.816 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.3829, allocations: 177.3 kB / 1.335 GB, free: 7.633 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3829, allocations: 0 / 1.335 GB, free: 7.633 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006118/0.3835, allocations: 237.3 kB / 1.335 GB, free: 7.395 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3835, allocations: 4 kB / 1.335 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3835, allocations: 3.938 kB / 1.335 GB, free: 7.387 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.3836, allocations: 7.938 kB / 1.335 GB, free: 7.379 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.3838, allocations: 59.98 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.3838, allocations: 4 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.384, allocations: 27.83 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.384, allocations: 8 kB / 1.336 GB, free: 7.281 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.0001242/0.3842, allocations: 130.2 kB / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.3842, allocations: 19.91 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005181/0.3847, allocations: 174.9 kB / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.3847, allocations: 4 kB / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3847, allocations: 0 / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3847, allocations: 0 / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.385, allocations: 172.7 kB / 1.336 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.385, allocations: 0 / 1.336 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.3851, allocations: 31.98 kB / 1.336 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3851, allocations: 0 / 1.336 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.3851, allocations: 3.938 kB / 1.336 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3851, allocations: 7.938 kB / 1.336 GB, free: 6.688 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3851, allocations: 3.984 kB / 1.336 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.3856, allocations: 255.9 kB / 1.336 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/0.3857, allocations: 23.83 kB / 1.336 GB, free: 6.395 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.3857, allocations: 7.938 kB / 1.336 GB, free: 6.387 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.3858, allocations: 15.98 kB / 1.336 GB, free: 6.371 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.3859, allocations: 15.98 kB / 1.336 GB, free: 6.355 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.3859, allocations: 7.984 kB / 1.336 GB, free: 6.348 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.416e-05/0.386, allocations: 112 kB / 1.336 GB, free: 6.238 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.386, allocations: 0 / 1.336 GB, free: 6.238 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003489/0.3863, allocations: 59.88 kB / 1.337 GB, free: 6.18 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.0009813/0.3873, allocations: 0.8458 MB / 1.337 GB, free: 5.309 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005034/0.3878, allocations: 167.9 kB / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3878, allocations: 0 / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.388, allocations: 63.89 kB / 1.338 GB, free: 5.082 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.3884, allocations: 19.98 kB / 1.338 GB, free: 5.062 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.3912, allocations: 1.953 MB / 1.34 GB, free: 3.008 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.877e-05/0.3913, allocations: 97.56 kB / 1.34 GB, free: 2.895 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.513e-05/0.3914, allocations: 25.75 kB / 1.34 GB, free: 2.871 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.714e-05/0.3915, allocations: 35.42 kB / 1.34 GB, free: 2.836 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.3915, allocations: 0 / 1.34 GB, free: 2.836 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.4252, allocations: 4.993 MB / 1.345 GB, free: 14.01 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.69, allocations: 10.39 kB / 1.345 GB, free: 14.01 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.63409489899641]