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.001254/0.001254, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001326/0.001326, allocations: 220.5 kB / 22.25 MB, free: 5.215 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.331/1.331, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] 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 2.946/2.946, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] 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.001832/0.001832, allocations: 68.88 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2962, allocations: 180.2 MB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006292/0.3025, allocations: 4.716 MB / 1.357 GB, free: 3.688 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3035, allocations: 0.8256 MB / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.3036, allocations: 0 / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.3037, allocations: 31.77 kB / 1.358 GB, free: 2.828 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.705e-05/0.3038, allocations: 39.7 kB / 1.358 GB, free: 2.789 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.3043, allocations: 175.4 kB / 1.359 GB, free: 2.617 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.3045, allocations: 171.4 kB / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.016e-05/0.3046, allocations: 13.58 kB / 1.359 GB, free: 2.434 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.3048, allocations: 95.61 kB / 1.359 GB, free: 2.34 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.3049, allocations: 75.73 kB / 1.359 GB, free: 2.266 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.3049, allocations: 15.94 kB / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003195/0.3052, allocations: 159.8 kB / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.333e-05/0.3052, allocations: 31.89 kB / 1.359 GB, free: 2.062 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.772e-05/0.3053, allocations: 67.66 kB / 1.359 GB, free: 1.996 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.3056, allocations: 239.1 kB / 1.359 GB, free: 1.762 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3056, allocations: 3.938 kB / 1.359 GB, free: 1.758 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3056, allocations: 0 / 1.359 GB, free: 1.758 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.3057, allocations: 4 kB / 1.359 GB, free: 1.754 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.000806/0.3065, allocations: 413.4 kB / 1.36 GB, free: 1.32 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.3065, allocations: 8.031 kB / 1.36 GB, free: 1.312 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.342e-05/0.3065, allocations: 42.73 kB / 1.36 GB, free: 1.262 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.3066, allocations: 12.84 kB / 1.36 GB, free: 1.25 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.3067, allocations: 122.4 kB / 1.36 GB, free: 1.105 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.3067, allocations: 11.94 kB / 1.36 GB, free: 1.094 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.3067, allocations: 12 kB / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.307, allocations: 121.5 kB / 1.36 GB, free: 0.957 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.307, allocations: 0 / 1.36 GB, free: 0.957 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.3071, allocations: 4 kB / 1.36 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3071, allocations: 4 kB / 1.36 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.3074, allocations: 139.9 kB / 1.36 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009201/0.3084, allocations: 443.5 kB / 1.361 GB, free: 344 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.3086, allocations: 118.5 kB / 1.361 GB, free: 216 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.3088, allocations: 68.8 kB / 1.361 GB, free: 144 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/0.3099, allocations: 0.4921 MB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.31, allocations: 30.56 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.31, allocations: 0 / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0006402/0.3106, allocations: 213.7 kB / 1.362 GB, free: 15.38 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.3106, allocations: 59.34 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.3108, allocations: 164.4 kB / 1.362 GB, free: 15.13 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.3108, allocations: 33.7 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.616e-05/0.3109, allocations: 112.4 kB / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.3109, allocations: 31.7 kB / 1.362 GB, free: 14.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.43e-05/0.311, allocations: 53.69 kB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3112, allocations: 318.8 kB / 1.362 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.3114, allocations: 75.95 kB / 1.362 GB, free: 14.49 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.3116, allocations: 119.9 kB / 1.362 GB, free: 14.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.312, allocations: 173.5 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.312, allocations: 0 / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005357/0.3125, allocations: 254.8 kB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3126, allocations: 5.719 kB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3126, allocations: 0 / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3126, allocations: 7.938 kB / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.3128, allocations: 55.89 kB / 1.363 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3128, allocations: 4 kB / 1.363 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.313, allocations: 27.83 kB / 1.363 GB, free: 13.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.313, allocations: 12 kB / 1.363 GB, free: 13.82 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.0001099/0.3131, allocations: 133.8 kB / 1.363 GB, free: 13.68 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.3131, allocations: 19.84 kB / 1.363 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004545/0.3136, allocations: 175 kB / 1.363 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3136, allocations: 0 / 1.363 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3136, allocations: 4 kB / 1.363 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3136, allocations: 4 kB / 1.363 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.3138, allocations: 188.6 kB / 1.363 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3138, allocations: 3.938 kB / 1.363 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.314, allocations: 27.98 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.314, allocations: 4 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.314, allocations: 0 / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.314, allocations: 3.984 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.314, allocations: 0 / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.3144, allocations: 255.3 kB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/0.3145, allocations: 39.75 kB / 1.364 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.3145, allocations: 0 / 1.364 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.3146, allocations: 15.92 kB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.3147, allocations: 15.97 kB / 1.364 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.3147, allocations: 4 kB / 1.364 GB, free: 12.86 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.327e-05/0.3148, allocations: 120 kB / 1.364 GB, free: 12.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3148, allocations: 0 / 1.364 GB, free: 12.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003073/0.3151, allocations: 55.88 kB / 1.364 GB, free: 12.69 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.0008816/0.316, allocations: 0.8332 MB / 1.365 GB, free: 11.83 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004582/0.3164, allocations: 171.6 kB / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.3164, allocations: 0 / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.3166, allocations: 63.89 kB / 1.365 GB, free: 11.6 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.3169, allocations: 28.11 kB / 1.365 GB, free: 11.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.3194, allocations: 1.955 MB / 1.367 GB, free: 9.523 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.3198, allocations: 0.7084 MB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.215e-05/0.3198, allocations: 17.02 kB / 1.368 GB, free: 8.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.516e-05/0.3199, allocations: 43.42 kB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3199, allocations: 0 / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/0.3508, allocations: 4.452 MB / 1.372 GB, free: 4.441 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.847/10.2, allocations: 4.062 kB / 1.372 GB, free: 4.438 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.232216583999616]