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.001818/0.001818, 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.002292/0.002292, allocations: 210.2 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.593/1.593, allocations: 230.6 MB / 256 MB, free: 7.785 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.463/3.463, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.002079/0.002079, allocations: 70.28 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3693, allocations: 181.9 MB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007991/0.3773, allocations: 4.429 MB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.3785, allocations: 0.7633 MB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.977e-05/0.3786, allocations: 4 kB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.3788, allocations: 27.78 kB / 1.369 GB, free: 8.773 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.299e-05/0.3789, allocations: 31.7 kB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005712/0.3794, allocations: 179.3 kB / 1.369 GB, free: 8.566 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.3796, allocations: 171.4 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.433e-05/0.3797, allocations: 17.56 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.3799, allocations: 79.75 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.38, allocations: 75.66 kB / 1.369 GB, free: 8.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.918e-05/0.3801, allocations: 16 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000364/0.3804, allocations: 139.8 kB / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.894e-05/0.3805, allocations: 35.91 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.301e-05/0.3806, allocations: 55.77 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000391/0.3809, allocations: 235.1 kB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.381, allocations: 4 kB / 1.37 GB, free: 7.754 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.653e-06/0.381, allocations: 0 / 1.37 GB, free: 7.754 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.381, allocations: 0 / 1.37 GB, free: 7.754 MB / 1.061 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.0009313/0.3819, allocations: 413.3 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.3819, allocations: 8.031 kB / 1.37 GB, free: 7.312 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.007e-05/0.382, allocations: 42.73 kB / 1.37 GB, free: 7.262 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.382, allocations: 8.891 kB / 1.37 GB, free: 7.254 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.3822, allocations: 130.3 kB / 1.37 GB, free: 7.102 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.3822, allocations: 11.94 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.3822, allocations: 8 kB / 1.37 GB, free: 7.082 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.3826, allocations: 117.6 kB / 1.37 GB, free: 6.961 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3826, allocations: 7.938 kB / 1.37 GB, free: 6.953 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.3826, allocations: 4 kB / 1.37 GB, free: 6.949 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.3826, allocations: 4 kB / 1.37 GB, free: 6.945 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004235/0.383, allocations: 135.9 kB / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009838/0.384, allocations: 415.6 kB / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.3843, allocations: 118.5 kB / 1.371 GB, free: 6.238 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.3845, allocations: 64.81 kB / 1.371 GB, free: 6.172 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/0.3857, allocations: 480 kB / 1.371 GB, free: 5.684 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.3857, allocations: 34.56 kB / 1.371 GB, free: 5.641 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.3857, allocations: 0 / 1.371 GB, free: 5.641 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0007088/0.3865, allocations: 213.3 kB / 1.372 GB, free: 5.426 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.3865, allocations: 51.41 kB / 1.372 GB, free: 5.363 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.3867, allocations: 171.2 kB / 1.372 GB, free: 5.184 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.3867, allocations: 29.7 kB / 1.372 GB, free: 5.148 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.812e-05/0.3868, allocations: 108.4 kB / 1.372 GB, free: 5.039 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.3868, allocations: 43.62 kB / 1.372 GB, free: 4.996 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.111e-05/0.3869, allocations: 49.7 kB / 1.372 GB, free: 4.941 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3871, allocations: 326.8 kB / 1.372 GB, free: 4.613 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.3873, allocations: 71.94 kB / 1.372 GB, free: 4.543 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.3876, allocations: 120.4 kB / 1.373 GB, free: 4.414 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/0.388, allocations: 173.2 kB / 1.373 GB, free: 4.234 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.388, allocations: 3.938 kB / 1.373 GB, free: 4.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006271/0.3887, allocations: 254.2 kB / 1.373 GB, free: 3.977 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3887, allocations: 4 kB / 1.373 GB, free: 3.973 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3887, allocations: 0 / 1.373 GB, free: 3.973 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3887, allocations: 4 kB / 1.373 GB, free: 3.969 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.389, allocations: 51.97 kB / 1.373 GB, free: 3.918 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.389, allocations: 7.938 kB / 1.373 GB, free: 3.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.3892, allocations: 31.95 kB / 1.373 GB, free: 3.879 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.3892, allocations: 8 kB / 1.373 GB, free: 3.871 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.0001206/0.3893, allocations: 121.8 kB / 1.373 GB, free: 3.742 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.3893, allocations: 19.84 kB / 1.373 GB, free: 3.723 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005159/0.3899, allocations: 179.2 kB / 1.373 GB, free: 3.539 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.3899, allocations: 4 kB / 1.373 GB, free: 3.535 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3899, allocations: 4 kB / 1.373 GB, free: 3.531 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3899, allocations: 3.984 kB / 1.373 GB, free: 3.527 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.3901, allocations: 172.7 kB / 1.374 GB, free: 3.316 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3901, allocations: 7.875 kB / 1.374 GB, free: 3.309 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.3903, allocations: 35.97 kB / 1.374 GB, free: 3.273 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.3903, allocations: 0 / 1.374 GB, free: 3.273 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.3903, allocations: 4 kB / 1.374 GB, free: 3.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3903, allocations: 0 / 1.374 GB, free: 3.27 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3903, allocations: 0 / 1.374 GB, free: 3.27 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004828/0.3908, allocations: 255.4 kB / 1.374 GB, free: 3.004 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.017e-05/0.3908, allocations: 27.77 kB / 1.374 GB, free: 2.977 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.3909, allocations: 0 / 1.374 GB, free: 2.977 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.391, allocations: 19.97 kB / 1.374 GB, free: 2.957 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.3911, allocations: 7.984 kB / 1.374 GB, free: 2.949 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.3911, allocations: 8 kB / 1.374 GB, free: 2.941 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001001/0.3912, allocations: 112 kB / 1.374 GB, free: 2.832 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3912, allocations: 0 / 1.374 GB, free: 2.832 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003417/0.3915, allocations: 63.88 kB / 1.374 GB, free: 2.77 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.00104/0.3925, allocations: 0.8487 MB / 1.375 GB, free: 1.895 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005092/0.3931, allocations: 162 kB / 1.375 GB, free: 1.738 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3931, allocations: 0 / 1.375 GB, free: 1.738 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.3933, allocations: 68.08 kB / 1.375 GB, free: 1.672 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.3936, allocations: 19.98 kB / 1.375 GB, free: 1.652 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/0.3965, allocations: 1.96 MB / 1.377 GB, free: 15.6 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.3966, allocations: 89.73 kB / 1.377 GB, free: 15.49 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.864e-05/0.3967, allocations: 32.06 kB / 1.377 GB, free: 15.46 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.595e-05/0.3968, allocations: 35.42 kB / 1.377 GB, free: 15.43 MB / 1.076 GB Notification: Performance of SimCode: time 3.9e-07/0.3968, allocations: 0 / 1.377 GB, free: 15.43 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.4314, allocations: 4.938 MB / 1.382 GB, free: 10.66 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.67, allocations: 7.547 kB / 1.382 GB, free: 10.65 MB / 1.076 GB " [Timeout remaining time 288] (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: 18.909872405231]